From 188282bc4e41dcc763573487801993d0ea12a78f Mon Sep 17 00:00:00 2001 From: sis0k0 Date: Tue, 28 Aug 2018 20:00:17 +0300 Subject: [PATCH] fix-next: add global process variable It was removed (probably accidentally) in #634. --- templates/webpack.angular.js | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/webpack.angular.js b/templates/webpack.angular.js index a34230e4..8fe26743 100644 --- a/templates/webpack.angular.js +++ b/templates/webpack.angular.js @@ -203,6 +203,7 @@ module.exports = env => { // Define useful constants like TNS_WEBPACK new webpack.DefinePlugin({ "global.TNS_WEBPACK": "true", + "process": undefined, }), // Remove all files from the out dir. new CleanWebpackPlugin([`${dist}/**/*`]),