UNPKG

524 BJavaScriptView Raw
1'use strict';
2
3var ExtractTextPlugin = require('extract-text-webpack-plugin')
4
5module.exports = {
6 entry: {
7 'index': './index.styl',
8 'index-no-normalize': './style/index.styl'
9 },
10 output: {
11 filename: 'index.css'
12 },
13 module: {
14 loaders: [
15 {
16 test: /\.styl$/,
17 loader: ExtractTextPlugin.extract('style-loader', 'css-loader!stylus-loader')
18 }
19 ]
20 },
21 plugins: [
22 new ExtractTextPlugin('[name].css')
23 ]
24}
\No newline at end of file