Skip to content

Commit

Permalink
drop support for cjs output
Browse files Browse the repository at this point in the history
  • Loading branch information
smastrom committed Aug 12, 2023
1 parent 23c0cdf commit 4dd7e2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions packages/notivue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,14 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"import": "./dist/index.js"
},
"./notifications.css": "./dist/Notifications/notifications.css",
"./animations.css": "./dist/core/animations.css"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"files": [
"dist/*",
"*.d.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/notivue/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default defineConfig({
entry: 'index.ts',
name: 'Notivue',
fileName: 'index',
formats: ['es', 'cjs'],
formats: ['es' /* 'cjs' */],
},
rollupOptions: {
external: ['vue'],
Expand Down

0 comments on commit 4dd7e2b

Please sign in to comment.