Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Updated next-css to work with latest css-loader package #517

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/next-css/css-loader-config.js
Expand Up @@ -91,7 +91,7 @@ module.exports = (
modules: cssModules,
sourceMap: dev,
importLoaders: loaders.length + (postcssLoader ? 1 : 0),
exportOnlyLocals: isServer
onlyLocals: isServer
},
cssLoaderOptions
)
Expand Down