Sharkey/webpack/module/rules/stylus.ts

14 lines
198 B
TypeScript
Raw Normal View History

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