joyent-portal/ui/webpack/test.js

19 lines
443 B
JavaScript
Raw Normal View History

2016-10-24 16:13:02 +03:00
const base = require('./base');
2016-10-24 14:43:32 +03:00
const webpack = require('webpack');
const path = require('path');
module.exports = {
output: {
libraryTarget: 'commonjs2'
},
plugins: [
2016-10-24 16:13:02 +03:00
base.plugins['no-errors-plugin'],
base.plugins['loader-options-plugin']
2016-10-24 14:43:32 +03:00
],
module: {
loaders: [{
test: /\.css?$/,
loader: 'css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss-loader'
}]
}
};