1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 07:10:05 +02:00
copilot/frontend/webpack/test.js
2016-10-26 10:51:40 +01:00

24 lines
476 B
JavaScript

const base = require('./base');
module.exports = {
output: {
libraryTarget: 'commonjs2'
},
plugins: [
base.plugins['no-errors-plugin'],
base.plugins['loader-options-plugin'],
base.plugins['define-plugin']
],
module: {
loaders: [{
test: /\.css?$/,
loader: [
'css-loader?',
'modules&importLoaders=1&',
'localIdentName=[name]__[local]___[hash:base64:5]!',
'postcss-loader'
].join('')
}]
}
};