From 2877c7064a9221340ce8ff0179ecb1bb8d199e9d Mon Sep 17 00:00:00 2001 From: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com> Date: Fri, 13 Oct 2023 12:06:03 +0200 Subject: [PATCH] all projects as ESM module --- projects/lit-ts/package.json | 1 + projects/parcel-ts/package.json | 1 + projects/rollup-ts/package.json | 1 + projects/rollup-ts/{rollup.config.mjs => rollup.config.js} | 0 projects/vitejs-ts/package.json | 1 + 5 files changed, 4 insertions(+) rename projects/rollup-ts/{rollup.config.mjs => rollup.config.js} (100%) diff --git a/projects/lit-ts/package.json b/projects/lit-ts/package.json index 715a324..490397e 100644 --- a/projects/lit-ts/package.json +++ b/projects/lit-ts/package.json @@ -1,6 +1,7 @@ { "name": "maxgraph-ts-example-integrating-in-lit", "private": true, + "type": "module", "scripts": { "dev": "vite", "build": "tsc && vite build --base ./", diff --git a/projects/parcel-ts/package.json b/projects/parcel-ts/package.json index 3c99b1c..8c22230 100644 --- a/projects/parcel-ts/package.json +++ b/projects/parcel-ts/package.json @@ -1,6 +1,7 @@ { "name": "maxgraph-ts-example-built-with-parcel", "private": true, + "type": "module", "scripts": { "dev": "parcel index.html", "build": "tsc && parcel build --public-url ./ index.html" diff --git a/projects/rollup-ts/package.json b/projects/rollup-ts/package.json index 3c843d5..de56652 100644 --- a/projects/rollup-ts/package.json +++ b/projects/rollup-ts/package.json @@ -1,6 +1,7 @@ { "name": "maxgraph-ts-example-built-with-rollup", "private": true, + "type": "module", "scripts": { "build": "npm-run-all --sequential build:*", "build:bundle": "tsc && rollup -c", diff --git a/projects/rollup-ts/rollup.config.mjs b/projects/rollup-ts/rollup.config.js similarity index 100% rename from projects/rollup-ts/rollup.config.mjs rename to projects/rollup-ts/rollup.config.js diff --git a/projects/vitejs-ts/package.json b/projects/vitejs-ts/package.json index 252b68d..673b0f7 100644 --- a/projects/vitejs-ts/package.json +++ b/projects/vitejs-ts/package.json @@ -1,6 +1,7 @@ { "name": "maxgraph-ts-example-built-with-vite", "private": true, + "type": "module", "scripts": { "dev": "vite", "build": "tsc && vite build --base ./",