Commit b28d042c authored by JC Brand's avatar JC Brand

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

parent 3ad93b56
...@@ -187,8 +187,8 @@ function parameterize () { ...@@ -187,8 +187,8 @@ function parameterize () {
if (type === 'css') { if (type === 'css') {
console.log("Building only CSS"); console.log("Building only CSS");
const fn = config.output.filename;
config.entry = path.resolve(__dirname, 'sass/converse.scss'); config.entry = path.resolve(__dirname, 'sass/converse.scss');
config.output = {};
} }
if (mode === 'production') { if (mode === 'production') {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment