Files
Monkey-Test/WebDriverAgent/Inspector/node_modules/react-button/build-style.config.js
T
2019-01-25 17:01:52 +08:00

24 lines
524 B
JavaScript

'use strict';
var ExtractTextPlugin = require('extract-text-webpack-plugin')
module.exports = {
entry: {
'index': './index.styl',
'index-no-normalize': './style/index.styl'
},
output: {
filename: 'index.css'
},
module: {
loaders: [
{
test: /\.styl$/,
loader: ExtractTextPlugin.extract('style-loader', 'css-loader!stylus-loader')
}
]
},
plugins: [
new ExtractTextPlugin('[name].css')
]
}