0189d7d29a
- detach plugins configuration - use aliases - add project root to frontend module resolver
23 lines
423 B
JavaScript
23 lines
423 B
JavaScript
const plugins = require('./plugins');
|
|
|
|
module.exports = {
|
|
output: {
|
|
libraryTarget: 'commonjs2'
|
|
},
|
|
plugins: [
|
|
plugins['no-errors'],
|
|
plugins['loader-options']
|
|
],
|
|
module: {
|
|
loaders: [{
|
|
test: /\.css?$/,
|
|
loader: [
|
|
'css-loader?',
|
|
'modules&importLoaders=1&',
|
|
'localIdentName=[name]__[local]___[hash:base64:5]!',
|
|
'postcss-loader'
|
|
].join('')
|
|
}]
|
|
}
|
|
};
|