barkey/webpack/module/rules/stylus.ts
2017-05-17 00:00:56 +09:00

13 lines
198 B
TypeScript

/**
* Stylus support
*/
export default () => ({
test: /\.styl$/,
exclude: /node_modules/,
use: [
{ loader: 'style-loader' },
{ loader: 'css-loader' },
{ loader: 'stylus-loader' }
]
});