[WIP] Remove broken duplicate rules from webpack.prod.js
This commit is contained in:
parent
613a7f6c66
commit
96874bd956
@ -15,20 +15,6 @@ module.exports = merge.smart(require('./webpack.base.js'), {
|
|||||||
libraryTarget: 'umd',
|
libraryTarget: 'umd',
|
||||||
umdNamedDefine: true,
|
umdNamedDefine: true,
|
||||||
},
|
},
|
||||||
module: {
|
|
||||||
rules: [
|
|
||||||
{
|
|
||||||
test: /\.css$/,
|
|
||||||
use: ExtractTextPlugin.extract({
|
|
||||||
fallback: 'style-loader',
|
|
||||||
use: [
|
|
||||||
{ loader: 'css-loader', options: { modules: true, importLoaders: 1 } },
|
|
||||||
{ loader: 'postcss-loader' },
|
|
||||||
],
|
|
||||||
}), // Use minified class names on production
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
context: path.join(__dirname, 'src'),
|
context: path.join(__dirname, 'src'),
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user