File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -23,31 +23,6 @@ export default function(getConfig) {
2323 substituteResponsiveAtRules ( config ) ,
2424 substituteScreenAtRules ( config ) ,
2525 substituteClassApplyAtRules ( config , processedPlugins . utilities ) ,
26-
27- // This quick plugin is necessary to avoid a serious performance
28- // hit due to nodes created by postcss-js having an empty `raws`
29- // value, and PostCSS not providing a default `raws.semicolon`
30- // value. This turns determining what value to use there into an
31- // O(n) operation instead of an O(1) operation.
32- //
33- // The latest version of PostCSS 7.x has this patched internally,
34- // but patching from userland until we upgrade from v6 to v7.
35- function ( root ) {
36- root . rawCache = {
37- colon : ': ' ,
38- indent : ' ' ,
39- beforeDecl : '\n' ,
40- beforeRule : '\n' ,
41- beforeOpen : ' ' ,
42- beforeClose : '\n' ,
43- beforeComment : '\n' ,
44- after : '\n' ,
45- emptyBody : '' ,
46- commentLeft : ' ' ,
47- commentRight : ' ' ,
48- semicolon : false ,
49- }
50- } ,
5126 ] ) . process ( css , { from : _ . get ( css , 'source.input.file' ) } )
5227 }
5328}
You can’t perform that action at this time.
0 commit comments