Skip to content

Commit

Permalink
Add nodePaths to the example code, equivalent to NODE_PATH when invok…
Browse files Browse the repository at this point in the history
…ed from CLI (#5715)
  • Loading branch information
kuon committed Feb 23, 2024
1 parent 05af7d9 commit 8b71fb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions guides/asset_management.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ let opts = {
target: "es2017",
outdir: "../priv/static/assets",
external: ["*.css", "fonts/*", "images/*"],
nodePaths: ["../deps"],
loader: loader,
plugins: plugins,
};
Expand Down

0 comments on commit 8b71fb3

Please sign in to comment.