mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 23:36:36 +00:00
Fix filtering out compatibility (#6056)
This commit is contained in:
parent
5cb7117656
commit
b75792a3bf
@ -22,7 +22,10 @@ module.exports.emptyPackages = ({ latestBuild }) =>
|
||||
require.resolve("@vaadin/vaadin-material-styles/font-roboto.js"),
|
||||
// Compatibility not needed for latest builds
|
||||
latestBuild &&
|
||||
path.resolve(paths.polymer_dir, "src/entrypoints/compatibility.ts"),
|
||||
// wrapped in require.resolve so it blows up if file no longer exists
|
||||
require.resolve(
|
||||
path.resolve(paths.polymer_dir, "src/resources/compatibility.ts")
|
||||
),
|
||||
// This polyfill is loaded in workers to support ES5, filter it out.
|
||||
latestBuild && require.resolve("proxy-polyfill/src/index.js"),
|
||||
].filter(Boolean);
|
||||
|
Loading…
x
Reference in New Issue
Block a user