Disable rollup's treeshake

It eliminated all code under this line 5b5f7ad105/src/text-expander-element.ts (L124)
This commit is contained in:
Lim Chee Aun 2023-03-22 21:01:03 +08:00
parent bd3ca460a9
commit 668acdcf0b

View file

@ -86,6 +86,7 @@ export default defineConfig({
build: { build: {
sourcemap: true, sourcemap: true,
rollupOptions: { rollupOptions: {
treeshake: false,
input: { input: {
main: resolve(__dirname, 'index.html'), main: resolve(__dirname, 'index.html'),
compose: resolve(__dirname, 'compose/index.html'), compose: resolve(__dirname, 'compose/index.html'),