mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Exclude google fonts (#2975)
This commit is contained in:
parent
39190dda20
commit
bd6d082555
@ -27,6 +27,11 @@ module.exports.plugins = [
|
|||||||
/@polymer\/font-roboto\/roboto\.js$/,
|
/@polymer\/font-roboto\/roboto\.js$/,
|
||||||
path.resolve(__dirname, "../src/util/empty.js")
|
path.resolve(__dirname, "../src/util/empty.js")
|
||||||
),
|
),
|
||||||
|
// Ignore mwc icons pointing at CDN.
|
||||||
|
new webpack.NormalModuleReplacementPlugin(
|
||||||
|
/@material\/mwc-icon\/mwc-icon-font\.js$/,
|
||||||
|
path.resolve(__dirname, "../src/util/empty.js")
|
||||||
|
),
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports.optimization = (latestBuild) => ({
|
module.exports.optimization = (latestBuild) => ({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user