mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +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();
|
||||
|
||||
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'));
|
||||
if (!platform) {
|
||||
throw new Error('You need to provide a target platform!');
|
||||
|
Reference in New Issue
Block a user