Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Commit 54df305

Browse files
fix: typo (use main.js instead of main.ts if no typescript)
1 parent d0e545c commit 54df305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = function (api) {
55
getMain() {
66
return api.hasPlugin('typescript')
77
? api.resolve('src/main.ts')
8-
: api.resolve('src/main.ts')
8+
: api.resolve('src/main.js')
99
},
1010

1111
updateBabelConfig (callback) {

0 commit comments

Comments
 (0)