@nebula.js/cli-build 2.3.0 → 2.3.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
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.3.1](https://github.com/qlik-oss/nebula.js/compare/v2.3.0...v2.3.1) (2021-12-09)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **cli-build:** mitigate problem with require inside try catch blocks ([#729](https://github.com/qlik-oss/nebula.js/issues/729)) ([05abf73](https://github.com/qlik-oss/nebula.js/commit/05abf7384df2831ed32719ac22faf3f25ed6ef5c))
11
+
6
12
  # [2.3.0](https://github.com/qlik-oss/nebula.js/compare/v2.2.0...v2.3.0) (2021-12-06)
7
13
 
8
14
  **Note:** Version bump only for package @nebula.js/cli-build
package/lib/build.js CHANGED
@@ -90,7 +90,9 @@ const config = ({
90
90
  nodeResolve({
91
91
  extensions,
92
92
  }),
93
- commonjs(),
93
+ commonjs({
94
+ ignoreTryCatch: false, // Avoids problems with require() inside try catch (https://github.com/rollup/plugins/issues/1004)
95
+ }),
94
96
  json(),
95
97
  babel({
96
98
  babelrc: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nebula.js/cli-build",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "QlikTech International AB",
@@ -44,5 +44,5 @@
44
44
  "tslib": "*",
45
45
  "typescript": ">=4.5.2"
46
46
  },
47
- "gitHead": "db408ff3d6013a4558dbb9be24ae1188c1e78d44"
47
+ "gitHead": "2dbe30df1ecb7a89551892891474c1b46ab73977"
48
48
  }