From 7b5109d9035b78ed21cb7e2a1b16a5ce1ad47a9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 3 Nov 2020 18:07:49 +0100 Subject: [PATCH] Update js.md --- content/en/hugo-pipes/js.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/en/hugo-pipes/js.md b/content/en/hugo-pipes/js.md index 07ee560f6..23befc57a 100644 --- a/content/en/hugo-pipes/js.md +++ b/content/en/hugo-pipes/js.md @@ -113,6 +113,8 @@ import * as params from '@params'; Hugo will, by default, generate a `assets/jsconfig.js` file that maps the imports. This is useful for navigation/intellisense help inside code editors, but if you don't need/want it, you can [turn it off](/getting-started/configuration/#configure-build). +**Note:** If you're developing a theme/component that's is supposed to be imported and depends on dependencies inside `package.json`, the project needs to run [hugo mod npm pack](/commands/hugo_mod_npm_pack/) to see the dependencies. + ### Examples ```go-html-template