1.3.3 • Published 1 year ago

@ontrackms/nativescript-dotenv v1.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Static Badge

NPM Test Workflow GitHub License

Adds common NativeScript configurations to Dotenv

Installation

npm i -D @ontrackms/nativescript-dotenv

Usage

Add the following lines to the exported function in webpack.config.js

const { NativeScriptDotEnvPlugin } = require("@ontrackms/nativescript-dotenv");

module.exports = (env) => {
  webpack.init(env);
  // must be called after webpack.init
  NativeScriptDotEnvPlugin.init(webpack);
  return webpack.resolveConfig();
};

Configuration

The following environment variables are supported in the dotenv (.env) file.

All variables are optional ⚙️

NATIVESCRIPT_BUNDLE_ID=com.corp.app.test
NATIVESCRIPT_BUNDLE_VERSION=3.2.1
NATIVESCRIPT_APPLE_TEAM_ID=ASDFG1234
1.1.1

1 year ago

1.0.2

1 year ago

1.1.0

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.1.3

1 year ago

1.2.1

1 year ago

1.1.2

1 year ago

1.0.3

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago