Skip to content

Commit ac34313

Browse files
committed
Fix sass HMR
1 parent 88d73c3 commit ac34313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cycle-scripts-one-fits-all/configs/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ module.exports = createConfig([
4444
() => customConfig, //Include user config
4545
tslint(),
4646
sass(),
47-
extractText('[name].css', 'text/x-sass'),
4847
postcss([
4948
autoprefixer({ browsers: ['last 2 versions'] })
5049
]),
@@ -72,6 +71,7 @@ module.exports = createConfig([
7271
]),
7372
env('production', [
7473
tsIfDef(true),
74+
extractText('[name].css', 'text/x-sass'),
7575
addPlugins([
7676
new CleanWebpackPlugin([appPath('build')]),
7777
new CopyWebpackPlugin([{ from: 'public', to: '' }]),

0 commit comments

Comments
 (0)