fix(modules): add stylus loader as an option to be uncommented (#3710)
This commit is contained in:
1 parent
dc929d3df5
commit
7c57f67844
9 files changed
+92
-9
No files matched your search
@@ -0,0 +1,10 @@
|
||||
const stylusToJavaScript = {
|
||||
test: /\.styl$/,
|
||||
use: [
|
||||
{ loader: 'style-loader' }, // 3. Style nodes from JS Strings
|
||||
{ loader: 'css-loader' }, // 2. CSS to CommonJS
|
||||
{ loader: 'stylus-loader' }, // 1. Stylus to CSS
|
||||
],
|
||||
};
|
||||
|
||||
module.exports = stylusToJavaScript;
|
||||
Reference in new issue
Block a user