joyent-portal/ui/webpack/test.js

23 lines
423 B
JavaScript
Raw Normal View History

const plugins = require('./plugins');
2016-10-24 14:43:32 +03:00
module.exports = {
output: {
libraryTarget: 'commonjs2'
},
plugins: [
plugins['no-errors'],
plugins['loader-options']
2016-10-24 14:43:32 +03:00
],
module: {
loaders: [{
test: /\.css?$/,
2016-10-26 12:51:06 +03:00
loader: [
'css-loader?',
'modules&importLoaders=1&',
'localIdentName=[name]__[local]___[hash:base64:5]!',
'postcss-loader'
].join('')
2016-10-24 14:43:32 +03:00
}]
}
2016-10-25 22:15:33 +03:00
};