fix treeshaking array (#1480)

* fix treeshaking array

* fix treeshaking array

* imports to not use .component
This commit is contained in:
Konnor Rogers
2023-08-01 14:04:36 -04:00
committed by GitHub
parent 16f3e256b0
commit 81dfcc2eae
2 changed files with 3 additions and 1 deletions

View File

@@ -14,8 +14,10 @@
"./dist/shoelace.js",
"./dist/shoelace-autoloader.js",
"./dist/components/**/*.js",
"./dist/chunks/**/*.js",
"./dist/translations/**/*.*",
"./src/translations/**/*.*",
"*.css",
"// COMMENT: This monstrosity below isn't perfect, but its like 99% to get bundlers to recognize 'thing.component.ts' as having no side effects. Example: https://regexr.com/7grof",
"./dist/components/**/*((?<!(\\.component|\\.styles)))\\.js"
],