nativescript-dev-webpack
This repository contains the code for the nativescript-dev-webpack plugin which helps in webpacking [NativeScript](https://www.nativescript.org/) apps.
Last updated 21 days ago by tns-bot .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install nativescript-dev-webpack 
SYNC missed versions from official npm registry.

NativeScript Webpack

This repository contains the code for the nativescript-dev-webpack plugin which helps in webpacking NativeScript apps.

JavaScript code and general asset bundling have been a member of the web developer toolbox for a long time. Tools like Webpack have been providing support for an enjoyable development experience that lets you assemble client-side code from various module sources and formats and then package it together. Most importantly, they allow for page load time optimizations that reduce or parallelize the number of requests a browser makes to the server.

Why bundle scripts in a mobile app though?

  • Fewer filesystem operations on app startup
  • Smaller code size
  • Tree-shaking
  • Preprocessing and interoperability hooks. Webpack provides a way to resolve modules and expressions differently according to its configuration. It also contains a lot of plugins and loaders that let you embed different content in your application or use code written in different programming languages

For more details, see the NativeScript docs for building with webpack.

Ingredients

  • webpack config templates.
  • helper functions that place files at the correct locations before packaging apps.
  • loaders and plugins for vanilla NativeScript and Angular apps.

Usage

$ npm install --save-dev nativescript-dev-webpack

$ tns run android
or
$ tns run ios

Contribute

We love PRs! Check out the contributing guidelines and instructions for local setup. If you want to contribute, but you are not sure where to start - look for issues labeled help wanted.

Get Help

Please, use github issues strictly for reporting bugs or requesting features. For general questions and support, check out Stack Overflow or ask our experts in NativeScript community Slack channel.

Current Tags

  • 1.2.0                                ...           latest (21 days ago)
  • 1.3.0-next-2019-09-19-155439-01                                ...           next (5 days ago)
  • 1.2.0-rc-2019-09-19-121913-01                                ...           rc (5 days ago)
  • 1.2.0                                ...           webpack (21 days ago)

597 Versions

Downloads
Today 0
This Week 3
This Month 17,091
Last Day 3
Last Week 8,289
Last Month 52,944

Copyright 2014 - 2016 © taobao.org |