1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 02:38:53 +00:00

Fix ignore plugin for ES5 builds

This commit is contained in:
Paulus Schoutsen
2020-05-23 22:08:49 -07:00
parent 71397e5199
commit 7427b209a7

View File

@@ -19,6 +19,7 @@ module.exports = function (userOptions = {}) {
// inside node_module dependencies. // inside node_module dependencies.
if ( if (
importee.endsWith("commonjsHelpers.js") || importee.endsWith("commonjsHelpers.js") ||
importee.endsWith("rollupPluginBabelHelpers.js") ||
importee.endsWith("?commonjs-proxy") || importee.endsWith("?commonjs-proxy") ||
!importer || !importer ||
!importer.includes("/node_modules/") !importer.includes("/node_modules/")