mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +02:00
reuse post-css configration for tests
This commit is contained in:
parent
7412d28277
commit
eefaf1d625
@ -4,7 +4,7 @@ const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
output: {
|
||||
libraryTarget: 'commonjs2',
|
||||
libraryTarget: 'commonjs2'
|
||||
},
|
||||
plugins: [
|
||||
config.__plugins['no-errors-plugin'],
|
||||
@ -14,24 +14,7 @@ module.exports = {
|
||||
module: {
|
||||
loaders: [{
|
||||
test: /\.css?$/,
|
||||
loader: [
|
||||
'style-loader', {
|
||||
loader: 'css-loader',
|
||||
options: {
|
||||
modules: true,
|
||||
importLoaders: 1
|
||||
}
|
||||
}, {
|
||||
loader: 'postcss-loader',
|
||||
options: {
|
||||
plugins: function() {
|
||||
return [
|
||||
require('postcss-cssnext')
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
loader: 'style-loader!css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss-loader'
|
||||
}]
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user