@forge/bundler 4.1.1-next.6 → 4.1.1-next.8
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 +14 -0
- package/out/webpack.d.ts.map +1 -1
- package/out/webpack.js +2 -1
- package/out/wrapper.js +2 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @forge/bundler
|
|
2
2
|
|
|
3
|
+
## 4.1.1-next.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1ad9503: Add onlyCompileBundledFiles option to ts-loader to only compile files included in the webpack bundle
|
|
8
|
+
- @forge/cli-shared@3.4.1-next.4
|
|
9
|
+
- @forge/lint@3.2.12-next.4
|
|
10
|
+
|
|
11
|
+
## 4.1.1-next.7
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 06be4ae: Enable source maps on Node runtime
|
|
16
|
+
|
|
3
17
|
## 4.1.1-next.6
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/out/webpack.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webpack.d.ts","sourceRoot":"","sources":["../src/webpack.ts"],"names":[],"mappings":"AAGA,OAAO,OAAO,EAAE,EAAE,QAAQ,EAAE,aAAa,IAAI,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE3F,OAAO,EACL,OAAO,EAGP,OAAO,EAEP,aAAa,EACb,aAAa,EACd,MAAM,SAAS,CAAC;AACjB,OAAO,EAEL,gBAAgB,EAGhB,gBAAgB,EAEjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA2B,UAAU,EAAE,MAAM,aAAa,CAAC;AAOlE,oBAAY,WAAW,GAAG,KAAK,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CA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UAAU,EAAE,OAuBxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,aAoB5B,CAAC"}
|
package/out/webpack.js
CHANGED
|
@@ -152,7 +152,8 @@ const getCommonWebpackConfig = (entrypoints, config) => {
|
|
|
152
152
|
jsxFactory: 'ForgeUI.createElement'
|
|
153
153
|
},
|
|
154
154
|
configFile: new tsconfig_interactor_1.TSConfigInteractor(new cli_shared_1.FileSystemReader(), config.appDirectory).getTSConfigPath(),
|
|
155
|
-
context: config.appDirectory
|
|
155
|
+
context: config.appDirectory,
|
|
156
|
+
onlyCompileBundledFiles: true
|
|
156
157
|
}
|
|
157
158
|
}
|
|
158
159
|
]
|
package/out/wrapper.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var _a, _b;
|
|
2
3
|
function createInstallationContext({ contextAri }) {
|
|
3
4
|
const ari = {};
|
|
4
5
|
if (ari.resourceType === 'project') {
|
|
@@ -165,6 +166,7 @@ const adapter = (name) => {
|
|
|
165
166
|
}
|
|
166
167
|
};
|
|
167
168
|
};
|
|
169
|
+
(_b = (_a = process).setSourceMapsEnabled) === null || _b === void 0 ? void 0 : _b.call(_a, true);
|
|
168
170
|
module.exports = new Proxy({}, {
|
|
169
171
|
get(target, name, receiver) {
|
|
170
172
|
if (name === 'then') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/bundler",
|
|
3
|
-
"version": "4.1.1-next.
|
|
3
|
+
"version": "4.1.1-next.8",
|
|
4
4
|
"description": "Default bundler for Forge apps",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Atlassian",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"@babel/preset-typescript": "^7.16.7",
|
|
21
21
|
"@forge/api": "2.9.1-next.1",
|
|
22
22
|
"@forge/babel-plugin-transform-ui": "1.1.0",
|
|
23
|
-
"@forge/cli-shared": "3.4.1-next.
|
|
24
|
-
"@forge/lint": "3.2.12-next.
|
|
23
|
+
"@forge/cli-shared": "3.4.1-next.4",
|
|
24
|
+
"@forge/lint": "3.2.12-next.4",
|
|
25
25
|
"assert": "^1.1.1",
|
|
26
26
|
"babel-loader": "^8.2.3",
|
|
27
27
|
"browserify-zlib": "^0.2.0",
|