intoli / antd-scss-theme-plugin

A Webpack plugin for customizing Ant Design with an SCSS theme file and using Ant Design's compiled variables in SCSS files throughout your project.
https://intoli.com/blog/antd-scss-theme-plugin/
Other
202 stars 81 forks source link

scss extension changing css extension - webpack build #111

Open vinithkumar23 opened 2 years ago

vinithkumar23 commented 2 years ago

We are using .scss each components and while build using webpack, file name extension changed as .css file. We want to maintain same extension like index.scss in each components in the build.

Below is our configuration : { test: /.scss$/, use: [ MiniCssExtractPlugin.loader, "css-loader", AntdScssThemePlugin.themify("sass-loader"), ], include: path.resolve(__dirname, "../"), },