npm package diff
Package: @forge/tunnel
Versions: 5.5.0-next.13 - 5.5.0-next.14
File: package/out/servers/native-ui-tunnel-server.js
Index: package/out/servers/native-ui-tunnel-server.js
===================================================================
--- package/out/servers/native-ui-tunnel-server.js
+++ package/out/servers/native-ui-tunnel-server.js
@@ -9,14 +9,16 @@
const url_1 = require("url");
class NativeUITunnelServer extends resource_tunnel_server_1.ResourceTunnelServer {
tunnelArgs;
server;
+ outputDir;
constructor(tunnelArgs) {
super(tunnelArgs);
this.tunnelArgs = tunnelArgs;
const { key, path, port, permissions, remotes, i18nConfig } = tunnelArgs;
const entrypoint = { name: key, path, functions: [] };
const config = (0, bundler_1.getNativeUiBuildConfig)([entrypoint]);
+ this.outputDir = config.output.path;
const compiler = (0, bundler_1.getCompiler)({
...config,
infrastructureLogging: {
level: 'error'
@@ -82,11 +84,9 @@
}
else {
isFirstCompilation = false;
}
- resolve({
- output: {}
- });
+ resolve({ outputDir: this.outputDir });
}
catch (err) {
await onBuildFinished(err);
isFirstCompilation = false;