Skip to content

Commit 0d58131

Browse files
fix: silence legacy-js-api Sass depr warning (#639)
1 parent dac4898 commit 0d58131

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config/webpack.dev-stage.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ module.exports = merge(commonConfig, {
102102
],
103103
// Silences compiler deprecation warnings. They mostly come from bootstrap and/or paragon.
104104
quietDeps: true,
105-
silenceDeprecations: ['abs-percent', 'color-functions', 'import', 'mixed-decls', 'global-builtin'],
105+
silenceDeprecations: ['abs-percent', 'color-functions', 'import', 'mixed-decls', 'global-builtin', 'legacy-js-api'],
106106
},
107107
},
108108
},

config/webpack.dev.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function getStyleUseConfig() {
6666
],
6767
// Silences compiler deprecation warnings. They mostly come from bootstrap and/or paragon.
6868
quietDeps: true,
69-
silenceDeprecations: ['abs-percent', 'color-functions', 'import', 'mixed-decls', 'global-builtin'],
69+
silenceDeprecations: ['abs-percent', 'color-functions', 'import', 'mixed-decls', 'global-builtin', 'legacy-js-api'],
7070
},
7171
},
7272
},

config/webpack.prod.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ module.exports = merge(commonConfig, {
133133
],
134134
// Silences compiler deprecation warnings. They mostly come from bootstrap and/or paragon.
135135
quietDeps: true,
136-
silenceDeprecations: ['abs-percent', 'color-functions', 'import', 'mixed-decls', 'global-builtin'],
136+
silenceDeprecations: ['abs-percent', 'color-functions', 'import', 'mixed-decls', 'global-builtin', 'legacy-js-api'],
137137
},
138138
},
139139
},

0 commit comments

Comments
 (0)