Browse Source

fixed webpack build config

all-modes
pbca26 8 years ago
parent
commit
a150d47d51
  1. 4
      react/webpack.config.js

4
react/webpack.config.js

@ -121,7 +121,7 @@ if (isProduction) {
test: /\.scss$/,
loader: ExtractTextPlugin.extract({
fallback: 'style-loader',
use: 'css-loader!postcss-loader!sass-loader',
use: 'css-loader!postcss-loader!sass-loader!file-loader!url-loader',
}),
}
);
@ -160,7 +160,7 @@ module.exports = {
},
output: {
path: buildPath,
publicPath: '/',
publicPath: '',
filename: 'app-[hash].js',
},
module: {

Loading…
Cancel
Save