Created
October 24, 2022 13:57
-
-
Save rschristian/2c19dadf89055857673b85c9b35d8df5 to your computer and use it in GitHub Desktop.
Preact-CLI config to disable CSS modules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default (config, env, helpers) => { | |
const { loader: cssLoader } = helpers.getLoadersByName(config, 'css-loader')[0]; | |
cssLoader.options.modules = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment