#package.json > build:dev extra tsc call in version 3?

1 messages · Page 1 of 1 (latest)

lean needle
#

Should I have this line as it was, or as per the upgrade to v3 guide for Needle Engine it mentions removing an extra tsc call?

    "build:dev": "tsc && vite build && npm run copy-files",

or this now which I edited it to?:

    "build:dev": "vite build && npm run copy-files",

or should the extra tsc call look something like this:

    "build:dev": "tsc & tsc && vite build && npm run copy-files",
unkempt lark
#

The tsc call should be removed. Sorry for the typo

#

"build:dev": "vite build && npm run copy-files",

#

you can delete the run copy-files too actually if you never edited that

lean needle
#

Thanks, so remove this too?
"copy-files": "copy-files-from-to",

unkempt lark
#

Yup and in build:dev the call too

#

can be "build:dev": "vite build"

lean needle
#

So no mentions of copy-files 🙂

unkempt lark
#

Yep (it also shouldnt hurt if it stays but it's not necessary anymore)

lean needle
#

Is there an upgrade guide on the wiki for quick reference for these bits?