2016-10-24 14:23:05 +03:00
|
|
|
const config = require('./config');
|
|
|
|
const webpack = require('webpack');
|
|
|
|
const path = require('path');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
output: {
|
2016-10-24 14:41:17 +03:00
|
|
|
libraryTarget: 'commonjs2'
|
2016-10-24 14:23:05 +03:00
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
config.__plugins['no-errors-plugin'],
|
|
|
|
config.__plugins['loader-options-plugin'],
|
|
|
|
config.__plugins['define-plugin']
|
|
|
|
],
|
|
|
|
module: {
|
|
|
|
loaders: [{
|
|
|
|
test: /\.css?$/,
|
2016-10-24 14:41:17 +03:00
|
|
|
loader: 'style-loader!css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss-loader'
|
2016-10-24 14:23:05 +03:00
|
|
|
}]
|
|
|
|
}
|
|
|
|
};
|