diff --git a/index.html b/index.html new file mode 100644 index 0000000000..1a55a32f7d --- /dev/null +++ b/index.html @@ -0,0 +1,34 @@ + + + + + + UMD + + + +
+ + + diff --git a/rollup.config.js b/rollup.config.js index 4f7e97430c..dd0aa3acdc 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -34,15 +34,6 @@ export default { commonjs(), typescript({ useTsconfigDeclarationDir: true, - tsconfigOverride: { - compilerOptions: { - target: 'es5', - downlevelIteration: true, - allowJs: true, // To transform js files in node_modules to es5. - declaration: false, // Avoid failing to generate types from js files. - }, - }, - include: ['src/**/*.ts+(|x)', '**/node_modules/**/*.js+(|x)'], }), terser(), ], diff --git a/vite.config.js b/vite.config.js index e10fe93c40..12b6f17867 100644 --- a/vite.config.js +++ b/vite.config.js @@ -31,6 +31,7 @@ export default defineConfig( port: 8080, open: '/', }, + build: { outDir: '../' }, }, linkOptions, ),