mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +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('')
|
|
}]
|
|
}
|
|
};
|