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

Upgrade next-css: dependency update & added flag #581

Closed
wants to merge 1 commit 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/next-css/css-loader-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ module.exports = (
chunkFilename: dev
? 'static/chunks/[name].chunk.css'
: 'static/chunks/[name].[contenthash:8].chunk.css',
hot: dev
hot: dev,
ignoreOrder: cssModules,
})
)
extractCssInitialized = true
Expand Down
2 changes: 1 addition & 1 deletion packages/next-css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": "zeit/next-plugins",
"dependencies": {
"css-loader": "^2.1.0",
"extract-css-chunks-webpack-plugin": "^3.3.2",
"extract-css-chunks-webpack-plugin": "^4.7.1",
"find-up": "^3.0.0",
"ignore-loader": "~0.1.2",
"optimize-css-assets-webpack-plugin": "^5.0.1",
Expand Down