mermaid/.esbuild
Alois Klink 37aaca0090
build: convert core build to unbundled ESM
The `mermaid.core.js` build was previously a UMD build that did not
have `node_modules` bundled.

This was designed for users to add `mermaid` to their own apps,
then bundle with Webpack/ESBuild.
Hence the bundle test in `cypress/platform/bundle-test.js`.

As ESBuild does not support UMD, I've switched the `mermaid.core.js`
to instead use ESM, as Mermaid now requires ESM
(due to d3 requiring ESM). All modern bundlers also support ESM.
2022-09-11 21:56:30 +01:00
..
esbuild.cjs build: convert core build to unbundled ESM 2022-09-11 21:56:30 +01:00
serve.cjs Correct name `umd` -> `iife` 2022-09-09 17:48:09 +05:30
util.cjs build: convert core build to unbundled ESM 2022-09-11 21:56:30 +01:00