@wavemaker/angular-codegen 11.1.0-next.24306 → 11.1.0-next.24310

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,10 @@
19
19
  "indexTransform": "./build-scripts/index-html-transform.js",
20
20
  "deployUrl": "ng-bundle/",
21
21
  "outputPath": "dist/ng-bundle",
22
- "index": "src/index.html",
22
+ "index": {
23
+ "input": "src/index.html",
24
+ "output": "../index.html"
25
+ },
23
26
  "main": "src/main.ts",
24
27
  "polyfills": "src/polyfills.ts",
25
28
  "tsConfig": "src/tsconfig.app.json",
@@ -93,7 +96,6 @@
93
96
  "optimization": true,
94
97
  "outputHashing": "all",
95
98
  "sourceMap": false,
96
- "extractCss": true,
97
99
  "namedChunks": false,
98
100
  "aot": true,
99
101
  "extractLicenses": true,
@@ -116,7 +118,6 @@
116
118
  "optimization": false,
117
119
  "outputHashing": "all",
118
120
  "sourceMap": false,
119
- "extractCss": true,
120
121
  "namedChunks": true,
121
122
  "aot": true,
122
123
  "extractLicenses": false,
@@ -135,7 +136,10 @@
135
136
  "builder": "@angular-devkit/build-angular:browser",
136
137
  "options": {
137
138
  "outputPath": "dist",
138
- "index": "src/index.html",
139
+ "index": {
140
+ "input": "src/index.html",
141
+ "output": "../index.html"
142
+ },
139
143
  "main": "src/main.ts",
140
144
  "polyfills": "src/polyfills.ts",
141
145
  "tsConfig": "src/tsconfig.app.json",
@@ -174,13 +178,21 @@
174
178
  "./node_modules/iscroll/build/iscroll.js",
175
179
  "./node_modules/js-cookie/src/js.cookie.js",
176
180
  "./node_modules/jssha/dist/sha256.js"
177
- ]
181
+ ],
182
+ "aot": false,
183
+ "vendorChunk": true,
184
+ "extractLicenses": false,
185
+ "buildOptimizer": false,
186
+ "sourceMap": true,
187
+ "optimization": false,
188
+ "namedChunks": true
178
189
  },
179
190
  "configurations": {
180
191
  "production": {
181
192
  "browserTarget": "angular-app:build:production"
182
193
  }
183
- }
194
+ },
195
+ "defaultConfiguration": ""
184
196
  },
185
197
  "serve": {
186
198
  "builder": "@angular-devkit/build-angular:dev-server",
@@ -263,10 +263,8 @@ const generateSha1 = (content) => {
263
263
  deployUrl = deployUrl.slice(0, deployUrl.length - 1);
264
264
  }
265
265
 
266
- fs.copyFileSync('./dist/ng-bundle/index.html', './dist/index.html');
267
266
  const contents = await readFile(`./dist/index.html`, `utf8`);
268
267
  $ = cheerio.load(contents);
269
- $('script').attr('defer', 'true');
270
268
  setMobileProjectType(angularJson);
271
269
  if (!isMobileProject) {
272
270
  isProdBuild = fs.existsSync(`${process.cwd()}/dist/ng-bundle/wm-styles.css`);