Skip to content

Commit

Permalink
fix(build): output in cwd, not import.meta.url (#1122)
Browse files Browse the repository at this point in the history
In bob, cwd and import.meta.url are identical, but in the context
of interactive-examples, import.meta.url points inside node_modules.
  • Loading branch information
caugner authored Feb 24, 2023
1 parent b11f5bf commit 1124abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default {
),
},
output: {
path: fileURLToPath(new URL("docs", import.meta.url)),
path: path.join(process.cwd(), "docs"),
filename: "js/[name].js",
},
module: {
Expand Down

0 comments on commit 1124abb

Please sign in to comment.