You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings and thanks for the template. This is just a question re: the target build formats. I notice that there are 4 targets in the rollup-config: es, es5, iife, and cjs. And in package.json I see the three outputs: "main": "dist/index.cjs.js", "browser": "dist/index.iife.js", "exports": "./dist/index.js"
I'm guessing cjs for npm/node and iife for the browser. Where do you imagine that the two es formats would be used/published ?
The text was updated successfully, but these errors were encountered:
dhowe
changed the title
Expected build targets
Question on build targets
Oct 25, 2023
Greetings and thanks for the template. This is just a question re: the target build formats. I notice that there are 4 targets in the rollup-config: es, es5, iife, and cjs. And in package.json I see the three outputs:
"main": "dist/index.cjs.js", "browser": "dist/index.iife.js", "exports": "./dist/index.js"
I'm guessing cjs for npm/node and iife for the browser. Where do you imagine that the two es formats would be used/published ?
The text was updated successfully, but these errors were encountered: