Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugoTestProjectJSModImports.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/main.js')
-rw-r--r--assets/js/main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/assets/js/main.js b/assets/js/main.js
index 7ba537e..afa9ea1 100644
--- a/assets/js/main.js
+++ b/assets/js/main.js
@@ -12,10 +12,14 @@ import { hello4 } from './lib';
// From the Hugo template.
import * as params from '@params';
+// https://github.com/gohugoio/hugo/issues/7948
+import { helloNodeModules } from 'mynodemod';
+
window.hello1 = hello1;
window.hello2 = hello2;
window.hello3 = hello3;
window.hello4 = hello4;
window.hello6 = hello6;
+window.helloNodeModules = helloNodeModules;
window.data = data;
window.params = params;