mirror of
https://github.com/yldio/copilot.git
synced 2024-11-15 07:40:07 +02:00
23 lines
441 B
JavaScript
23 lines
441 B
JavaScript
const base = require('./base');
|
|
|
|
module.exports = {
|
|
output: {
|
|
libraryTarget: 'commonjs2'
|
|
},
|
|
plugins: [
|
|
base.plugins['no-errors-plugin'],
|
|
base.plugins['loader-options-plugin']
|
|
],
|
|
module: {
|
|
loaders: [{
|
|
test: /\.css?$/,
|
|
loader: [
|
|
'css-loader?',
|
|
'modules&importLoaders=1&',
|
|
'localIdentName=[name]__[local]___[hash:base64:5]!',
|
|
'postcss-loader'
|
|
].join('')
|
|
}]
|
|
}
|
|
};
|