We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e77e5a commit 696b67dCopy full SHA for 696b67d
packages/pack/src/webpackCompat.ts
@@ -389,11 +389,19 @@ function compatOutput(
389
) {
390
throw "non string output chunkFilename not supported yet";
391
}
392
+
393
+ if (
394
+ webpackOutput?.publicPath &&
395
+ typeof webpackOutput.publicPath !== "string"
396
+ ) {
397
+ throw "non string output publicPath not supported yet";
398
+ }
399
return {
400
path: webpackOutput?.path,
401
filename: webpackOutput?.filename as string | undefined,
402
chunkFilename: webpackOutput?.chunkFilename as string | undefined,
403
clean: !!webpackOutput?.clean,
404
+ publicPath: webpackOutput?.publicPath as string | undefined,
405
};
406
407
0 commit comments