Try esmodule

This commit is contained in:
Jordan Eldredge 2024-05-09 15:39:14 -07:00
parent 8a3f464040
commit dc644ad3be

View File

@ -13,22 +13,26 @@
"targets": { "targets": {
"webamp-browser": { "webamp-browser": {
"source": "js/webamp.ts", "source": "js/webamp.ts",
"outputFormat": "global", "outputFormat": "esmodule",
"isLibrary": true,
"optimize": false "optimize": false
}, },
"webamp-browser-min": { "webamp-browser-min": {
"source": "js/webamp.ts", "source": "js/webamp.ts",
"outputFormat": "global", "outputFormat": "esmodule",
"isLibrary": true,
"optimize": true "optimize": true
}, },
"webamp-lazy-browser": { "webamp-lazy-browser": {
"source": "js/webampLazy.tsx", "source": "js/webampLazy.tsx",
"outputFormat": "global", "outputFormat": "esmodule",
"isLibrary": true,
"optimize": false "optimize": false
}, },
"webamp-lazy-browser-min": { "webamp-lazy-browser-min": {
"source": "js/webampLazy.tsx", "source": "js/webampLazy.tsx",
"outputFormat": "global", "outputFormat": "esmodule",
"isLibrary": true,
"optimize": true "optimize": true
}, },
"demo-site": { "demo-site": {