File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
const { regexCssGlobal, regexScssGlobal } = require ( './constants' )
2
- const { color } = require ( './color' )
3
2
4
3
function patchServerWebpackConfig ( config ) {
5
4
const originalEntry = config . entry
@@ -13,7 +12,6 @@ function patchServerWebpackConfig(config) {
13
12
if ( ! entry [ 'pages/_document' ] . includes ( patchPath ) ) {
14
13
entry [ 'pages/_document' ] . unshift ( patchPath )
15
14
}
16
- console . log ( `${ color . cyan ( 'info' ) } - Enabled global css/scss (server).` )
17
15
return entry
18
16
}
19
17
}
@@ -35,7 +33,6 @@ function patchWebpackStyleRules(rule) {
35
33
rule . test &&
36
34
( rule . test . source === regexCssGlobal . source || rule . test . source === regexScssGlobal . source )
37
35
) {
38
- console . log ( `${ color . cyan ( 'info' ) } - Enabled global css/scss (client).` )
39
36
// Remove issuer for allow import css from 3d-party libs and locals.
40
37
delete rule . issuer
41
38
}
You can’t perform that action at this time.
0 commit comments