File tree Expand file tree Collapse file tree 5 files changed +24
-29
lines changed
Expand file tree Collapse file tree 5 files changed +24
-29
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,6 @@ window.config = {
9898 experimentalDecorators : true ,
9999 } ,
100100 meta : {
101- '*' : {
102- 'globals' : {
103- 'process' : 'process' ,
104- } ,
105- } ,
106101 'typescript' : {
107102 'exports' : 'ts' ,
108103 } ,
@@ -161,7 +156,6 @@ window.config = {
161156 'externals:' : '../../../../bundles/externals/' ,
162157 } ,
163158 map : {
164- 'process' : '../../../../utils/shared/process.js' ,
165159 'ts' : 'npm:plugin-typescript/lib/plugin.js' ,
166160 'typescript' : 'npm:typescript/lib/typescript.js' ,
167161 'jszip' : 'npm:jszip/dist/jszip.min.js' ,
@@ -335,5 +329,11 @@ window.config = {
335329 ] ,
336330} ;
337331
332+ window . process = {
333+ env : {
334+ NODE_ENV : 'production' ,
335+ } ,
336+ } ;
337+
338338System . config ( window . config ) ;
339339System . import ( '@angular/compiler' ) . catch ( console . error . bind ( console ) ) ;
Original file line number Diff line number Diff line change @@ -8,11 +8,6 @@ window.config = {
88 jsx : 'react' ,
99 } ,
1010 meta : {
11- '*' : {
12- 'globals' : {
13- 'process' : 'process' ,
14- } ,
15- } ,
1611 'react' : {
1712 'esModule' : true ,
1813 } ,
@@ -54,7 +49,6 @@ window.config = {
5449 } ,
5550 defaultExtension : 'js' ,
5651 map : {
57- 'process' : '../../../../utils/shared/process.js' ,
5852 'ts' : 'npm:plugin-typescript/lib/plugin.js' ,
5953 'typescript' : 'npm:typescript/lib/typescript.js' ,
6054 'jszip' : 'npm:jszip/dist/jszip.min.js' ,
@@ -211,4 +205,10 @@ window.config = {
211205 } ,
212206} ;
213207
208+ window . process = {
209+ env : {
210+ NODE_ENV : 'production' ,
211+ } ,
212+ } ;
213+
214214System . config ( window . config ) ;
Original file line number Diff line number Diff line change @@ -8,11 +8,6 @@ window.config = {
88 jsx : 'react' ,
99 } ,
1010 meta : {
11- '*' : {
12- globals : {
13- process : 'process' ,
14- } ,
15- } ,
1611 'react' : {
1712 'esModule' : true ,
1813 } ,
@@ -54,7 +49,6 @@ window.config = {
5449 } ,
5550 defaultExtension : 'js' ,
5651 map : {
57- 'process' : '../../../../utils/shared/process.js' ,
5852 'ts' : 'npm:plugin-typescript/lib/plugin.js' ,
5953 'typescript' : 'npm:typescript/lib/typescript.js' ,
6054 'jszip' : 'npm:jszip/dist/jszip.min.js' ,
@@ -211,4 +205,10 @@ window.config = {
211205 } ,
212206} ;
213207
208+ window . process = {
209+ env : {
210+ NODE_ENV : 'production' ,
211+ } ,
212+ } ;
213+
214214System . config ( window . config ) ;
Original file line number Diff line number Diff line change @@ -2,11 +2,6 @@ window.exports = window.exports || {};
22window . config = {
33 transpiler : 'plugin-babel' ,
44 meta : {
5- '*' : {
6- 'globals' : {
7- 'process' : 'process' ,
8- } ,
9- } ,
105 '*.vue' : {
116 loader : 'vue-loader' ,
127 } ,
@@ -51,7 +46,6 @@ window.config = {
5146 'externals:' : '../../../../bundles/externals/' ,
5247 } ,
5348 map : {
54- 'process' : '../../../../utils/shared/process.js' ,
5549 'vue' : 'npm:vue/dist/vue.esm-browser.js' ,
5650 '@vue/shared' : 'npm:@vue/shared/dist/shared.cjs.prod.js' ,
5751 'vue-loader' : 'npm:dx-systemjs-vue-browser/index.js' ,
@@ -203,4 +197,10 @@ window.config = {
203197 } ,
204198} ;
205199
200+ window . process = {
201+ env : {
202+ NODE_ENV : 'production' ,
203+ } ,
204+ } ;
205+
206206System . config ( window . config ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments