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
path: root/assets
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-11-03 21:07:36 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-11-03 21:07:36 +0300
commit0db16a75eb530737b1f9fc71eca71dd889599dae (patch)
tree4779a8d6cab71069dfb5ba454f9189559f799ff3 /assets
parentc2e292cf0bf105649f1f3c8b6c6f75c3f8782768 (diff)
Update mod2v0.4.0
Diffstat (limited to 'assets')
-rw-r--r--assets/js/lib/index.js2
-rw-r--r--assets/js/main.js1
-rw-r--r--assets/jsconfig.json11
3 files changed, 2 insertions, 12 deletions
diff --git a/assets/js/lib/index.js b/assets/js/lib/index.js
index 1c791ee..41b3cd8 100644
--- a/assets/js/lib/index.js
+++ b/assets/js/lib/index.js
@@ -1,3 +1,3 @@
export function hello4() {
- return 'Hello from lib in the main project';
+ return 'Hello from lib in the main project!!';
}
diff --git a/assets/js/main.js b/assets/js/main.js
index ac41e01..f65fb47 100644
--- a/assets/js/main.js
+++ b/assets/js/main.js
@@ -6,6 +6,7 @@ import * as data from 'core/util/data.json';
// But doing import from 'core/util' you will get the index.js file from mod1
// (higher up in the import list), so we need to be explicit:
import { hello3 } from 'core/util/hello3';
+
// From main
import { hello4 } from './lib';
// From the Hugo template.
diff --git a/assets/jsconfig.json b/assets/jsconfig.json
deleted file mode 100644
index 385d600..0000000
--- a/assets/jsconfig.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "compilerOptions": {
- "baseUrl": ".",
- "paths": {
- "*": [
- "../../../../hugo_cache/modules/filecache/modules/pkg/mod/github.com/gohugoio/hugo!test!modules!j!s/mod1@v0.2.0/assets/*",
- "../../../../hugo_cache/modules/filecache/modules/pkg/mod/github.com/gohugoio/hugo!test!modules!j!s/mod2@v0.1.0/assets/*"
- ]
- }
- }
-} \ No newline at end of file