mirror of
https://github.com/wu736139669/Monkey-Test.git
synced 2026-08-05 05:55:46 +00:00
24 lines
524 B
JavaScript
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')
|
|
]
|
|
} |