Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/icewind1991/files_markdown.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-08-27 17:57:47 +0300
committerRobin Appelman <robin@icewind.nl>2017-08-27 17:57:47 +0300
commit224f192dd71c8bbfa4d92f9b6fb0278c7061db9a (patch)
tree6577e7b96d08ddad6af1f98b62f930ef83285ec6 /webpack.config.js
parentb073588231df7da81ca1c80deb2657101a73e33e (diff)
refactor plugin loading
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 97817c5..1194c8f 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -17,7 +17,10 @@ module.exports = {
plugins: [
new CleanWebpackPlugin(['build']),
new webpack.NamedModulesPlugin(),
- new ExtractTextPlugin("styles.css"),
+ new ExtractTextPlugin({
+ filename: "styles.css",
+ allChunks: true
+ }),
new UglifyJSPlugin()
],
module: {