GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - NativeScript/nativescript-dev-webpack: A package to help with webpacking NativeScript apps.

This repository was archived by the owner on Aug 7, 2021. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

887 Commits
887 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
bin
bin
 
 
build
build
 
 
demo
demo
 
 
hmr
hmr
 
 
host
host
 
 
jasmine-config
jasmine-config
 
 
lib
lib
 
 
nativescript-target
nativescript-target
 
 
plugins
plugins
 
 
snapshot/android
snapshot/android
 
 
templates
templates
 
 
transformers
transformers
 
 
utils
utils
 
 
verify
verify
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
.nycrc
.nycrc
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
PULL_REQUEST_TESTS.md
PULL_REQUEST_TESTS.md
 
 
README.md
README.md
 
 
android-app-components-loader.js
android-app-components-loader.js
 
 
androidProjectHelpers.js
androidProjectHelpers.js
 
 
apply-css-loader.js
apply-css-loader.js
 
 
bundle-config-loader.spec.ts
bundle-config-loader.spec.ts
 
 
bundle-config-loader.ts
bundle-config-loader.ts
 
 
css2json-loader.spec.ts
css2json-loader.spec.ts
 
 
css2json-loader.ts
css2json-loader.ts
 
 
dependencyManager.js
dependencyManager.js
 
 
hot-loader-helper.js
hot-loader-helper.js
 
 
hot.js
hot.js
 
 
index.js
index.js
 
 
index.spec.ts
index.spec.ts
 
 
installer.js
installer.js
 
 
lazy-ngmodule-hot-loader.js
lazy-ngmodule-hot-loader.js
 
 
load-application-css-angular.js
load-application-css-angular.js
 
 
load-application-css-regular.js
load-application-css-regular.js
 
 
load-application-css.js
load-application-css.js
 
 
markup-hot-loader.js
markup-hot-loader.js
 
 
merge-guidance-schema.png
merge-guidance-schema.png
 
 
moduleid-compat-loader.js
moduleid-compat-loader.js
 
 
package.json
package.json
 
 
postinstall.js
postinstall.js
 
 
preuninstall.js
preuninstall.js
 
 
projectFilesManager.js
projectFilesManager.js
 
 
projectHelpers.js
projectHelpers.js
 
 
projectHelpers.spec.js
projectHelpers.spec.js
 
 
release-contribution-guide-schema-webpack.png
release-contribution-guide-schema-webpack.png
 
 
script-hot-loader.js
script-hot-loader.js
 
 
style-hot-loader.js
style-hot-loader.js
 
 
tsconfig.json
tsconfig.json
 
 
unit-testing-config-loader.js
unit-testing-config-loader.js
 
 
xml-namespace-loader.spec.ts
xml-namespace-loader.spec.ts
 
 
xml-namespace-loader.ts
xml-namespace-loader.ts
 
 

Repository files navigation

The source code has been moved into the main NativeScript monorepo and all issues are handled in the main repo now.

This repository is now in read-only mode (archived) for reference.


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
  • Usage
  • Contribute
  • Get Help

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.

About

A package to help with webpacking NativeScript apps.

Topics

angularjavascriptnativescriptnativescript-angularnativescript-dev-webpacktypescriptwebpackwebpack4

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

97 stars

Watchers

7 watching

Forks

40 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.