joyent-portal/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('')
}]
}
};