import manifest instead of reading it#2591
Conversation
|
|
Is this the approach we should be taking with the Vite Plugin too? I didn't because of TS. But I'm open to discussing that (in that repo). Also this PR moved a bunch of other stuff around. So distracts from the actual change. |
so long as it will run in the runtime, you should never use node:fs obviously because it won't work in edge |
|
Good point.. yeah I had a runtime helper .. Ok I will change the vite plugin. |
yes small disclaimer: by "run in the runtime" i meant END result code that will be deployed (like the one you run with |
Summary
import manifest instead of reading it
How did you test this change?
ran build and it was inlined