fix(modules): add stylus loader as an option to be uncommented (#3710)

This commit is contained in:
Alireza authored and GitHub committed 2023-10-10 13:21:17 -04:00
1 parent dc929d3df5
commit 7c57f67844
9 files changed
+92 -9

No files matched your search

@@ -2,6 +2,20 @@ const ExtractCssChunksPlugin = require('extract-css-chunks-webpack-plugin');
function extractStyleChunks(isProdBuild) {
return [
// If you are using the old stylus, you should uncomment this
// {
// test: /\.styl$/,
// use: [
// {
// loader: ExtractCssChunksPlugin.loader,
// options: {
// hot: !isProdBuild,
// },
// },
// { loader: 'css-loader' },
// { loader: 'stylus-loader' },
// ],
// },
{
test: /\.(sa|sc|c)ss$/,
use: [