Skip to content

Commit

Permalink
Remove type:module from react-msaview npm package.json to fix import …
Browse files Browse the repository at this point in the history
…in esbuild (#53)
  • Loading branch information
cmdcolin authored Oct 24, 2023
1 parent 87e6339 commit f02973c
Show file tree
Hide file tree
Showing 3 changed files with 657 additions and 566 deletions.
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"@types/react-dom": "^18.2.1",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "^5.0.4",
"vite": "^4.3.4"
"vite": "^5.0.0-beta.10"
}
}
3 changes: 1 addition & 2 deletions lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "react-msaview",
"type": "module",
"author": "Colin",
"version": "2.1.3",
"license": "MIT",
Expand All @@ -18,7 +17,7 @@
"prebuild": "npm run clean",
"prepublishOnly": "node output-version.js > src/version.ts && git add -A src && git commit -m '[skip ci] Bump version.ts'",
"build:esm": "tsc",
"build:bundle": "rollup -c",
"build:bundle": "rollup -c --bundleConfigAsCjs",
"build": "npm run build:esm && npm run build:bundle",
"prepack": "npm run build",
"postversion": "git push --follow-tags",
Expand Down
Loading

0 comments on commit f02973c

Please sign in to comment.