Skip to content

Commit

Permalink
Merge pull request #246 from Telegram-Mini-Apps/feature/scaffold-cli
Browse files Browse the repository at this point in the history
Fix @tma.js/create-mini-app module type
  • Loading branch information
heyqbnk authored Mar 8, 2024
2 parents ed6e0ec + c7ddb67 commit 8e456da
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/lucky-jokes-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tma.js/create-mini-app": patch
---

Fix module type
2 changes: 1 addition & 1 deletion packages/create-mini-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"files": [
"dist"
],
"bin": "dist/index.cjs",
"bin": "dist/index.js",
"scripts": {
"lint": "eslint src",
"lint:fix": "pnpm run lint --fix",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-mini-app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineConfig({
ssr: true,
lib: {
entry: 'src/index.ts',
formats: ['cjs'],
formats: ['es'],
fileName: 'index',
},
},
Expand Down

0 comments on commit 8e456da

Please sign in to comment.