diff --git a/frameworks/slickgrid-vue/package.json b/frameworks/slickgrid-vue/package.json index f30a976b6..6c9b0f8b3 100644 --- a/frameworks/slickgrid-vue/package.json +++ b/frameworks/slickgrid-vue/package.json @@ -4,6 +4,7 @@ "description": "Slickgrid-Vue", "type": "module", "main": "./dist/index.cjs", + "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { diff --git a/frameworks/slickgrid-vue/vite.config.mts b/frameworks/slickgrid-vue/vite.config.mts index 459cf2cd3..dc34c8954 100644 --- a/frameworks/slickgrid-vue/vite.config.mts +++ b/frameworks/slickgrid-vue/vite.config.mts @@ -9,7 +9,7 @@ const __dirname = dirname(fileURLToPath(import.meta.url)); // https://vitejs.dev/config/ export default defineConfig({ - plugins: [vue(), dts({ insertTypesEntry: true, rollupTypes: false, tsconfigPath: './tsconfig.app.json' })], + plugins: [vue(), dts({ insertTypesEntry: true, rollupTypes: true, tsconfigPath: './tsconfig.app.json' })], build: { lib: { entry: resolve(__dirname, 'src/index.ts'),