@forge/bundler 2.0.1-next.0 → 2.0.1-next.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
@@ -1,5 +1,11 @@
1
1
  # @forge/bundler
2
2
 
3
+ ## 2.0.1-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - f27cbfc: Do not fail on TS errors
8
+
3
9
  ## 2.0.1-next.0
4
10
 
5
11
  ### Patch Changes
package/out/webpack.js CHANGED
@@ -30,7 +30,7 @@ const handleCallback = (err, stats) => {
30
30
  const isTSError = info.errors.every((e) => e.message.includes('[tsl]'));
31
31
  if (isTSError) {
32
32
  const formattedErrors = info.errors.map((error) => {
33
- return error.replace(/\.?.+.tsx?(?!\([0-9]\,[0-9]\))$/gm, '');
33
+ return error.message.replace(/\.?.+.tsx?(?!\([0-9]\,[0-9]\))$/gm, '');
34
34
  });
35
35
  throw new Error(text_1.Text.typescriptError(formattedErrors));
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bundler",
3
- "version": "2.0.1-next.0",
3
+ "version": "2.0.1-next.1",
4
4
  "description": "Default bundler for Forge apps",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Atlassian",