Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork40
A package to help with webpacking NativeScript apps.
License
NativeScript/nativescript-dev-webpack
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The source code has been moved into the mainNativeScript monorepo and all issues are handled in the main repo now.
This repository is now in read-only mode (archived) for reference.
This repository contains the code for the nativescript-dev-webpack plugin which helps in webpackingNativeScript 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 theNativeScript docs for building with webpack.
- webpack config templates.
- helper functions that place files at the correct locations before packaging apps.
- loaders and plugins for vanilla NativeScript and Angular apps.
$ npm install --save-dev nativescript-dev-webpack$ tns run androidor$ tns run ios
We love PRs! Check out thecontributing guidelines andinstructions for local setup. If you want to contribute, but you are not sure where to start - look forissues labeledhelp wanted
.
Please, usegithub issues strictly forreporting bugs orrequesting features. For general questions and support, check outStack Overflow or ask our experts inNativeScript community Slack channel.
About
A package to help with webpacking NativeScript apps.
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.