Revise build step and dist structure for better Webpack, CJS and pnpm support

This commit is contained in:
Vanilagy
2025-07-09 11:53:19 +02:00
parent 3e96184a6f
commit 84c9d37cb7
16 changed files with 52 additions and 63 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ const rollupInput = Object.fromEntries(
export default defineConfig({
resolve: {
alias: {
mediabunny: path.resolve(__dirname, './dist/mediabunny.mjs'),
mediabunny: path.resolve(__dirname, './dist/bundles/mediabunny.mjs'),
},
},
plugins: [