Skip to content

Commit fb08a04

Browse files
committed
refactor: two of the options are now subitems of minimize
1 parent 4df4777 commit fb08a04

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/uikit-workshop/webpack.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,13 @@ module.exports = function (apiConfig) {
188188
{
189189
loader: 'html-loader',
190190
options: {
191-
minifyCSS: false,
192-
minifyJS: config.prod ? true : false,
193191
// super important -- this prevents the embedded iframe srcdoc HTML from breaking!
194192
preventAttributesEscaping: true,
195193
preprocessor: processNestedHtml,
194+
minimize: {
195+
minifyCSS: false,
196+
minifyJS: config.prod ? true : false,
197+
},
196198
},
197199
},
198200
],

0 commit comments

Comments
 (0)