@forge/bundler 3.0.0-next.6 → 3.0.0-next.7

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,16 @@
1
1
  # @forge/bundler
2
2
 
3
+ ## 3.0.0-next.7
4
+
5
+ ### Minor Changes
6
+
7
+ - 3103a290: Update webpack config to fix module resolution issue with package exports
8
+
9
+ ### Patch Changes
10
+
11
+ - @forge/cli-shared@2.2.2-next.4
12
+ - @forge/lint@3.0.1-next.4
13
+
3
14
  ## 3.0.0-next.6
4
15
 
5
16
  ### Major Changes
@@ -1 +1 @@
1
- {"version":3,"file":"webpack.d.ts","sourceRoot":"","sources":["../src/webpack.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAkC,OAAO,EAAkB,MAAM,SAAS,CAAC;AAY3F,oBAAY,WAAW,GAAG,KAAK,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC,CAAC;AAgDH,UAAU,aAAa;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,gBAAgB,WAAY,aAAa,KAAG,MASxD,CAAC;AAiPF,eAAO,MAAM,MAAM,EAAE,OAqCpB,CAAC;AAgCF,eAAO,MAAM,KAAK,EAAE,OAmCnB,CAAC"}
1
+ {"version":3,"file":"webpack.d.ts","sourceRoot":"","sources":["../src/webpack.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAkC,OAAO,EAAkB,MAAM,SAAS,CAAC;AAY3F,oBAAY,WAAW,GAAG,KAAK,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC,CAAC;AAgDH,UAAU,aAAa;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,gBAAgB,WAAY,aAAa,KAAG,MASxD,CAAC;AAoPF,eAAO,MAAM,MAAM,EAAE,OAqCpB,CAAC;AAgCF,eAAO,MAAM,KAAK,EAAE,OAmCnB,CAAC"}
package/out/webpack.js CHANGED
@@ -181,6 +181,7 @@ const getBuildConfig = (entrypoints, config) => {
181
181
  performance: false,
182
182
  resolve: {
183
183
  mainFields: ['main', 'module'],
184
+ exportsFields: ['node'],
184
185
  alias: getCustomModulesAliases(),
185
186
  extensions: ['.ts', '.tsx', '.js', '.jsx', '.json']
186
187
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bundler",
3
- "version": "3.0.0-next.6",
3
+ "version": "3.0.0-next.7",
4
4
  "description": "Default bundler for Forge apps",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Atlassian",
@@ -21,8 +21,8 @@
21
21
  "@forge/api": "2.6.0",
22
22
  "@forge/babel-plugin-transform-ui": "1.1.0",
23
23
  "babel-loader": "^8.2.3",
24
- "@forge/cli-shared": "2.2.2-next.3",
25
- "@forge/lint": "3.0.1-next.3",
24
+ "@forge/cli-shared": "2.2.2-next.4",
25
+ "@forge/lint": "3.0.1-next.4",
26
26
  "chalk": "^2.4.2",
27
27
  "memfs": "^3.4.1",
28
28
  "node-libs-browser": "^2.2.1",