Skip to content

Commit

Permalink
fix: fix Configuring Alias And Externals example error (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
klren0312 authored Nov 21, 2024
1 parent 5392a4a commit dfd8a53
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,11 @@ export default defineConfig({
compilation: {
resolve: {
alias: {
'@/': path.join(process.cwd(), 'src')
"@/": path.join(process.cwd(), "src"),
},
externals: [
'node:fs'
]
}
}
},
externals: ["node:fs"],
},
// ...
});
```
Expand Down

0 comments on commit dfd8a53

Please sign in to comment.