stlint-loader
v1.0.1
Published
stlint loader for webpack
Downloads
2
Readme
stlint-loader
stlint loader for webpack
install
$ npm install stlint-loader --save-dev
How to use
webpack.config.js
module.exports = {
module: {
rules: [
{
enforce: 'pre',
test: /\.styl$/,
use: 'stlint-loader',
exclude: /node_modules/
}
]
}
}
If you want to pass an option.
module.exports = {
module: {
rules: [
{
enforce: 'pre',
test: /\.styl$/,
use: [
{
loader: 'stlint-loader',
options: {
reporter: 'silent'
}
}
],
exclude: /node_modules/
}
]
}
}
Future
Do not want to create instant every time, Think about how to pass options.