diff --git a/package.json b/package.json index 9210525..07a39c2 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { - "name": "design-system-marque-blanche", + "name": "@octo-technology/dsocto", "version": "1.0.0", - "main": "./dist/design-system-marque-blanche.cjs", - "module": "./dist/design-system-marque-blanche.js", + "main": "./dist/dsocto.cjs", + "module": "./dist/dsocto.js", "exports": { ".": { - "import": "./dist/design-system-marque-blanche.js", - "require": "./dist/design-system-marque-blanche.cjs" + "import": "./dist/dsocto.js", + "require": "./dist/dsocto.cjs" } }, "type": "module", diff --git a/vite.config.ts b/vite.config.ts index 2702034..5f5c5ca 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -11,8 +11,8 @@ export default defineConfig({ build: { lib: { entry: resolve(__dirname, 'src/main.ts'), - name: 'design-system-marque-blanche', - fileName: 'design-system-marque-blanche' + name: 'dsocto', + fileName: 'dsocto' }, rollupOptions: { // make sure to externalize deps that shouldn't be bundled