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$/, test: /\.scss$/,
loader: ExtractTextPlugin.extract({ loader: ExtractTextPlugin.extract({
fallback: 'style-loader', 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: { output: {
path: buildPath, path: buildPath,
publicPath: '/', publicPath: '',
filename: 'app-[hash].js', filename: 'app-[hash].js',
}, },
module: { module: {

Loading…
Cancel
Save