prevent css-loader v7 renaming default to _default, needed for storybook (#3692)

Co-authored-by: Muaz Ahmad <mahmad2000@protonmail.com>
This commit is contained in:
mahmed2000 2024-04-15 00:40:54 +05:00 committed by Gabe Kangas
parent edcddbb674
commit f5cfa9de55
No known key found for this signature in database
GPG Key ID: 4345B2060657F330

View File

@ -45,6 +45,7 @@ module.exports = {
// Want to add more CSS Modules options? Read more here: https://github.com/webpack-contrib/css-loader#modules
modules: {
auto: true,
namedExport: false,
},
importLoaders: 2,
},