Skip to content

Commit

Permalink
modify global css import error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ysun62 committed Jun 27, 2020
1 parent 479c38d commit 767501a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/build/webpack/config/blocks/css/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function getGlobalImportError(file: string | null) {
'Custom <App>'
)}. Please move all global CSS imports to ${chalk.cyan(
file ? file : 'pages/_app.js'
)}.\nRead more: https://err.sh/next.js/css-global`
)}. Or consider using CSS Modules instead.\nRead more: https://err.sh/next.js/css-global`
}

export function getGlobalModuleImportError() {
Expand Down

0 comments on commit 767501a

Please sign in to comment.