jaredkrinke / sic1

Single-instruction (subleq) programming game
https://jaredkrinke.itch.io/sic-1
Other
87 stars 3 forks source link

Figure out how to avoid generating index.runtime.*.js #542

Closed jaredkrinke closed 9 months ago

jaredkrinke commented 9 months ago

Something to do with Parcel, I suspect...

Asked on Parcel Discussions: https://github.com/parcel-bundler/parcel/discussions/9490

jaredkrinke commented 9 months ago

Does older Parcel work without this?

jaredkrinke commented 9 months ago

Older Parcel doesn't support JSON import. Is this related to JSON imports?

I don't actually need JSON imports--would this avoid having to hack in stuff to prevent JSON imports for languages?

The main problem is that the runtime file has a hash in the name even though I don't want it to--although I could just start doing a wildcard copy of all JS and call it a day...

jaredkrinke commented 9 months ago

How do I ensure that this file is copied for WebView2, etc. builds but also gets cleaned up?

jaredkrinke commented 9 months ago

This file is also blocked on itch.io... I really need to figure out how to get rid of it...