diff --git a/index.html b/index.html index f50c4dd..8f1f19f 100644 --- a/index.html +++ b/index.html @@ -14,6 +14,6 @@
- + diff --git a/src/main.ts b/src/index.ts similarity index 100% rename from src/main.ts rename to src/index.ts diff --git a/vite.config.ts b/vite.config.ts index fcadadb..95fe128 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,7 +25,7 @@ export default ({ mode }: { mode: string }): UserConfigExport => build: { lib: { // Could also be a dictionary or array of multiple entry points - entry: resolve(__dirname, 'src/main.ts'), + entry: resolve(__dirname, 'src/index.ts'), name: 'graasp-map', formats: ['cjs', 'es'], // the proper extensions will be added