@equinor/roma-nx-plugin 6.2.0-rc.0 → 6.2.0-rc.1

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ # [6.2.0-rc.1](https://github.com/equinor/tops-roma/compare/roma-6.2.0-rc.0...roma-6.2.0-rc.1) (2026-06-26)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **ROMA-321:** Fix minifyEs plugin ([f903962](https://github.com/equinor/tops-roma/commit/f9039626d7467216a2d12a7f8b86abf27bcdbc55))
11
+
12
+
13
+
5
14
  # [6.2.0-rc.0](https://github.com/equinor/tops-roma/compare/roma-6.2.0-beta.4...roma-6.2.0-rc.0) (2026-06-25)
6
15
 
7
16
 
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@equinor/roma-nx-plugin",
3
3
  "private": false,
4
- "version": "6.2.0-rc.0",
4
+ "version": "6.2.0-rc.1",
5
5
  "repository": "https://github.com/equinor/tops-roma",
6
6
  "dependencies": {
7
7
  "@azure/identity": "^4.4.1",
8
8
  "@equinor/fusion-framework-module-app": "8.0.2",
9
- "@equinor/roma-framework": "6.0.1-rc.0",
9
+ "@equinor/roma-framework": "6.1.0-rc.0",
10
10
  "@nx/devkit": "^22.0.3",
11
11
  "@nx/react": "^22.0.3",
12
12
  "@vitejs/plugin-react": "^6.0.3",
@@ -9,12 +9,18 @@ function minifyEs() {
9
9
  order: 'post',
10
10
  async handler(code, chunk, outputOptions) {
11
11
  if (outputOptions.format === 'es') {
12
- return await (0, esbuild_1.transform)(code, {
12
+ const sourcemap = !!outputOptions.sourcemap;
13
+ const result = await (0, esbuild_1.transform)(code, {
13
14
  minifyWhitespace: true,
14
15
  minifySyntax: true,
16
+ sourcemap,
15
17
  });
18
+ return {
19
+ code: result.code,
20
+ map: sourcemap && result.map ? result.map : null,
21
+ };
16
22
  }
17
- return code;
23
+ return null;
18
24
  },
19
25
  },
20
26
  };
@@ -1 +1 @@
1
- {"version":3,"file":"minify.js","sourceRoot":"","sources":["../../../../../../plugins/roma/src/executors/build/minify.ts"],"names":[],"mappings":";;AAGA,4BAgBC;AAlBD,qCAAoC;AAEpC,SAAgB,QAAQ;IACtB,OAAO;QACL,IAAI,EAAE,UAAU;QAChB,WAAW,EAAE;YACX,KAAK,EAAE,MAAM;YACb,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,aAAa;gBACtC,IAAI,aAAa,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;oBAClC,OAAO,MAAM,IAAA,mBAAS,EAAC,IAAI,EAAE;wBAC3B,gBAAgB,EAAE,IAAI;wBACtB,YAAY,EAAE,IAAI;qBACnB,CAAC,CAAC;gBACL,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;SACF;KACQ,CAAC;AACd,CAAC"}
1
+ {"version":3,"file":"minify.js","sourceRoot":"","sources":["../../../../../../plugins/roma/src/executors/build/minify.ts"],"names":[],"mappings":";;AAGA,4BAsBC;AAxBD,qCAAoC;AAEpC,SAAgB,QAAQ;IACtB,OAAO;QACL,IAAI,EAAE,UAAU;QAChB,WAAW,EAAE;YACX,KAAK,EAAE,MAAM;YACb,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,aAAa;gBACtC,IAAI,aAAa,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;oBAClC,MAAM,SAAS,GAAG,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC;oBAC5C,MAAM,MAAM,GAAG,MAAM,IAAA,mBAAS,EAAC,IAAI,EAAE;wBACnC,gBAAgB,EAAE,IAAI;wBACtB,YAAY,EAAE,IAAI;wBAClB,SAAS;qBACV,CAAC,CAAC;oBACH,OAAO;wBACL,IAAI,EAAE,MAAM,CAAC,IAAI;wBACjB,GAAG,EAAE,SAAS,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI;qBACjD,CAAC;gBACJ,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;SACF;KACQ,CAAC;AACd,CAAC"}