Skip to content

Commit 1de04ad

Browse files
committed
fix: next webpack build
W need webpack to be able to get unplugin loader from the node modules, not from the bundle
1 parent d91b6d7 commit 1de04ad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmp/compiler/tsdown.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default defineConfig({
2323
external: [
2424
/^@lingo.dev\/_compiler\/dev-config/,
2525
/^@lingo.dev\/_compiler\/config/,
26+
"unplugin", // Keep unplugin external so webpack can resolve its internal loaders
2627
],
2728
outDir: "build",
2829
format: ["cjs", "esm"],

0 commit comments

Comments
 (0)