Skip to content

Local MacOS/Linux snapshot generation #17

@ivanbuhov

Description

@ivanbuhov
  • Build mksnapshot tools for MacOS X
  • Refactor (rewrite) the whole plugin to build snapshots locally instead of downloading pre-build packages
  • Enable generation of .so files instead of .blobs in case the user has Android NDK locally installed.
  • Handle gracefully webpack/snapshot errors. Rebuild mksnapshot tools to log on the console in case of JS error.
  • Remove the webpack bundle generation from the snapshot package.
  • Refactor/move the snapshot generation logic as next step after the nativescript-dev-webpack bundling step (probably as a webpack plugin). Snapshot package is using webpack 1.2, nativescript-dev-webpack is using > 2.0, so this may require some additional effort. The snapshot should be generated from a single webpack bundle produced by the nativescript-dev-webpackplugin.
  • Provide an easy to use snapshot configuration mechanism.
    • Making a webpack bundle snapshottable requires some manual changes of its webpack config file. Ideally we will handle these changes automatically
  • Introduce continuous integration builds.
  • Linux support
  • Documentation

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions