File tree 3 files changed +8
-1
lines changed
3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 90
90
"u2f-api" : " 0.2.3" ,
91
91
"webpack" : " ^4.28.1" ,
92
92
"webpack-cli" : " ^3.1.2" ,
93
+ "webpack-fix-style-only-entries" : " ^0.2.0" ,
93
94
"zxcvbn" : " ^4.4.2"
94
95
},
95
96
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ const ExtractTextPlugin = require('mini-css-extract-plugin');
8
8
const CompressionPlugin = require ( 'compression-webpack-plugin' ) ;
9
9
const OptimizeCssAssetsPlugin = require ( 'optimize-css-assets-webpack-plugin' ) ;
10
10
const LodashModuleReplacementPlugin = require ( 'lodash-webpack-plugin' ) ;
11
+ const FixStyleOnlyEntriesPlugin = require ( 'webpack-fix-style-only-entries' ) ;
11
12
12
13
const { env} = process ;
13
14
@@ -315,7 +316,7 @@ const legacyCssConfig = {
315
316
output : {
316
317
path : distPath ,
317
318
} ,
318
- plugins : [ new ExtractTextPlugin ( ) ] ,
319
+ plugins : [ new FixStyleOnlyEntriesPlugin ( ) , new ExtractTextPlugin ( ) ] ,
319
320
resolve : {
320
321
extensions : [ '.less' , '.js' ] ,
321
322
modules : [ staticPrefix , 'node_modules' ] ,
Original file line number Diff line number Diff line change @@ -14206,6 +14206,11 @@ webpack-dev-server@^3.1.10:
14206
14206
webpack-log "^2.0.0"
14207
14207
yargs "12.0.2"
14208
14208
14209
+ webpack-fix-style-only-entries@^0.2.0:
14210
+ version "0.2.0"
14211
+ resolved "https://registry.yarnpkg.com/webpack-fix-style-only-entries/-/webpack-fix-style-only-entries-0.2.0.tgz#87b11a0eee21c2fe6191a50d478d69eb70815957"
14212
+ integrity sha512-3EKneRqg1NI5iQro9tFq3W0hYNu7iH2ZvTB7CbTQMUymsouZZd1elsDIYh8KUqCQj7O+/QySepHM80FcWi4O0Q==
14213
+
14209
14214
webpack-hot-middleware@^2.24.3:
14210
14215
version "2.24.3"
14211
14216
resolved "https://registry.yarnpkg.com/webpack-hot-middleware/-/webpack-hot-middleware-2.24.3.tgz#5bb76259a8fc0d97463ab517640ba91d3382d4a6"
You can’t perform that action at this time.
0 commit comments