Skip to content
Discussion options

You must be logged in to vote

yes, that's normal. in dev, the url follows the file's path from vite's root, so yours is /src/assets/entry-js.ts

the docs use /main.js because that file is at the project root. the entry-js key in input names the build entry, but doesn't create /entry-js.ts in dev

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@WaningJupiter
Comment options

Answer selected by WaningJupiter
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants