⚡ Empowering JavaScript with native platform APIs. ✨ Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java). Use what you love ❤️ Angular, Capacitor, Ionic, React, Solid, Svelte, Vue with: iOS (UIKit, SwiftUI), Android (View, Jetpack Compose), Dart (Flutter) and you name it compatible.
MIT License
Bot releases are hidden (Show)
Published by rigor789 over 2 years ago
Published by NathanWalker almost 3 years ago
Published by NathanWalker about 3 years ago
Published by NathanWalker about 3 years ago
Published by NathanWalker about 3 years ago
Published by NathanWalker about 3 years ago
reduce-css-calc
w/ webpack without error (#9510) (0fd92b7)nativeTextViewProtected
internally (#9483) (71b856c)Published by NathanWalker about 3 years ago
Published by rigor789 about 3 years ago
This is a major release of @nativescript/webpack
that is now rebuilt from the ground up with ease of upgrading and customizing in mind.
Most new projects were already using the beta
version of @nativescript/webpack
so there's a good chance your project is already compatible.
The docs cover how the new configuration works: https://docs.nativescript.org/webpack.html
If you are already using the beta
or rc
versions, update to 5.0.0
by changing the version in package.json
or using the following command:
npm i --save-dev @nativescript/webpack
To upgrade, delete your old webpack.config.js
(create a backup if you have done any customizations to it) and then install the latest 5.0.0 version:
npm i --save-dev @nativescript/webpack
Initialize a new config:
npx nativescript-webpack init
The new config should look something like this:
const webpack = require("@nativescript/webpack");
module.exports = (env) => {
webpack.init(env);
// Learn how to customize:
// https://docs.nativescript.org/webpack
return webpack.resolveConfig();
};
Next step is to re-add your customizations if any. Please refer to the docs for examples.
Published by NathanWalker about 3 years ago
Published by NathanWalker about 3 years ago
Published by rigor789 about 3 years ago
Published by NathanWalker over 3 years ago
Published by NathanWalker over 3 years ago
Published by NathanWalker over 3 years ago
Published by NathanWalker over 3 years ago
Published by NathanWalker over 3 years ago
Published by NathanWalker over 3 years ago
Published by NathanWalker over 3 years ago
BottomNavigation
and Tabs
moved to @nativescript-community
If using BottomNavigation
, just install @nativescript-community/ui-material-bottom-navigation
and update your imports to use it.
If using Tabs
, just install @nativescript-community/ui-material-tabs
and update your imports to use it.
BEFORE:
// #aarrggbb
const color = new Color('#ff00ff00');
Label {
background-color: #ff00ff00;
}
AFTER:
// #rrggbbaa
const color = new Color('#00ff00ff');
Label {
background-color: #00ff00ff;
}