Created
June 12, 2020 03:45
-
-
Save kennethnwc/56597309d59ea9f64882fa4ef26537f1 to your computer and use it in GitHub Desktop.
next config
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
const withSass = require('@zeit/next-sass') | |
module.exports = withSass({ | |
cssModules: true, | |
cssLoaderOptions: { | |
camelCase: 'dashes', | |
importLoaders: 1, | |
localIdentName: "[local]___[hash:base64:5]", | |
}, | |
sassLoaderOptions: { | |
includePaths: ["node_modules", "./node_modules"], | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment