Skip to content

Commit

Permalink
fix: incorrect mapping of mjs files in nuxt3 (#790)
Browse files Browse the repository at this point in the history
  • Loading branch information
justintaddei authored Sep 11, 2024
1 parent bebe2ae commit 7a918d1
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,17 @@
"module": "dist/index.js",
"types": "dist/index.d.ts",
"unpkg": "dist/index.global.js",
"files": [
"dist/**/*",
"nuxt/**/*"
],
"files": ["dist/**/*", "nuxt/**/*"],
"exports": {
"./nuxt": {
"import": "./nuxt/index.ts",
"require": "./nuxt/v2/index.cjs"
},
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"scripts": {
"build": "tsup src/index.ts --clean --dts --format esm,cjs,iife --global-name VWave",
"dev": "tsup src/index.ts --watch --dts --format esm,cjs,iife --global-name VWave",
Expand Down

0 comments on commit 7a918d1

Please sign in to comment.