Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Reduce bundle size #67

Closed
farooqkz opened this issue Feb 18, 2023 · 1 comment
Closed

Reduce bundle size #67

farooqkz opened this issue Feb 18, 2023 · 1 comment

Comments

@farooqkz
Copy link
Owner

Currently, parcel is the build system chooj uses. When targeting FF48, parcel tries to create a bundle which works on FF48 newer browsers. FF48 does not support JS modules but most newer browsers do. So parcel creates two sets of JS assets for module and nomodule. And the module JS assets never get used in KaiOS 2.x.

Related issue:

parcel-bundler/parcel#8783

@Simon-Laux
Copy link
Collaborator

maybe just add a small script that removes the html tag and the file "manually" from the bundle, that way we would not need wait for any solutions from parcel.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants