@wavemaker/angular-codegen 11.5.0-next.40301 → 11.5.0-rc.151

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.
@@ -28,6 +28,8 @@ const generateHash = async (filepath) => {
28
28
  return hash.digest('hex');
29
29
  };
30
30
  const generateHashForScripts = (updatedFilenames) => {
31
+ //from angular 12(IVY), scripts array in angular json, doesn't allow `@` symbol in the name/value
32
+ //so removed `@` from wavemaker.com in the file name and adding it back in the post-build.js file
31
33
  const scriptsMap = {};
32
34
  return new Promise(resolve => {
33
35
  fs.readdir(opPath, (err, items) => {
@@ -255,8 +257,6 @@ const generateSha1 = (content) => {
255
257
  } else {
256
258
  isDevBuild = fs.existsSync(`${process.cwd()}/dist/ng-bundle/wm-android-styles.js`);
257
259
  isProdBuild = fs.existsSync(`${process.cwd()}/dist/ng-bundle/wm-android-styles.css`);
258
- $("script[type='module']").remove();
259
- $('script[nomodule]').removeAttr('nomodule');
260
260
  }
261
261
 
262
262
  if (isProdBuild) {