mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
chore: fix webpack config
This commit is contained in:
@ -18,9 +18,6 @@ const { getAngularCompilerPlugin } = require('@nativescript/webpack/plugins/Nati
|
|||||||
const hashSalt = Date.now().toString();
|
const hashSalt = Date.now().toString();
|
||||||
|
|
||||||
module.exports = (env) => {
|
module.exports = (env) => {
|
||||||
// Add your custom Activities, Services and other Android app components here.
|
|
||||||
const appComponents = ['@nativescript/core/ui/frame', '@nativescript/core/ui/frame/activity'];
|
|
||||||
|
|
||||||
const platform = env && ((env.android && 'android') || (env.ios && 'ios'));
|
const platform = env && ((env.android && 'android') || (env.ios && 'ios'));
|
||||||
if (!platform) {
|
if (!platform) {
|
||||||
throw new Error('You need to provide a target platform!');
|
throw new Error('You need to provide a target platform!');
|
||||||
|
Reference in New Issue
Block a user