Explorar o código

Bugfix. Don't wipe dist/converse.js when generating CSS

JC Brand %!s(int64=6) %!d(string=hai) anos
pai
achega
b28d042c85
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      webpack.config.js

+ 1 - 1
webpack.config.js

@@ -187,8 +187,8 @@ function parameterize () {
 
     if (type === 'css') {
         console.log("Building only CSS");
-        const fn = config.output.filename;
         config.entry = path.resolve(__dirname, 'sass/converse.scss');
+        config.output = {};
     }
 
     if (mode === 'production') {