You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2021. It is now read-only.
You verified that this is a real problem by searching the [NativeScript Forum] and the other [issues] in this repo.
You checked our [demo apps] and the [documentation] for sample usage.
Problem
Currently, the modules that are executed when generating snapshots are the ones that are required in the vendor.ts file. With webpack 4 all node packages that are used in the app will be moved to one separate chunk. That makes the vendor.ts only needed when generating snapshots.
Proposed solution
We can dynamically generate requires for the modules that should be executed and add them to the 'snapshotted' chunk. That way, we won't need a separate vendor.ts file.
The text was updated successfully, but these errors were encountered:
Issue Checklist
Problem
Currently, the modules that are executed when generating snapshots are the ones that are required in the
vendor.ts
file. With webpack 4 all node packages that are used in the app will be moved to one separate chunk. That makes thevendor.ts
only needed when generating snapshots.Proposed solution
We can dynamically generate requires for the modules that should be executed and add them to the 'snapshotted' chunk. That way, we won't need a separate
vendor.ts
file.The text was updated successfully, but these errors were encountered: