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:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-11-02 20:37:41 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-11-02 20:37:41 +0300
commitc2e292cf0bf105649f1f3c8b6c6f75c3f8782768 (patch)
treea72161205d527153034783f0380fb016cccbcb28
parentad26f6347fd1a8a9335ce4ed44c5939c92223400 (diff)
Update mod1v0.3.0
-rw-r--r--assets/jsconfig.json11
-rw-r--r--go.mod2
-rw-r--r--go.sum1
-rw-r--r--layouts/index.html2
4 files changed, 14 insertions, 2 deletions
diff --git a/assets/jsconfig.json b/assets/jsconfig.json
new file mode 100644
index 0000000..385d600
--- /dev/null
+++ b/assets/jsconfig.json
@@ -0,0 +1,11 @@
+{
+ "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
diff --git a/go.mod b/go.mod
index 08cf276..d947406 100644
--- a/go.mod
+++ b/go.mod
@@ -5,7 +5,7 @@ go 1.15
require (
github.com/bep/hugo-jslibs/alpinejs v0.5.14 // indirect
github.com/date-fns/date-fns v2.16.1+incompatible // indirect
- github.com/gohugoio/hugoTestModulesJS/mod1 v0.1.0 // indirect
+ github.com/gohugoio/hugoTestModulesJS/mod1 v0.2.0 // indirect
github.com/gohugoio/hugoTestModulesJS/mod2 v0.1.0 // indirect
)
diff --git a/go.sum b/go.sum
index eadbfca..f65acee 100644
--- a/go.sum
+++ b/go.sum
@@ -13,6 +13,7 @@ github.com/gohugoio/hugoTestModulesJS/mod1 v0.0.0-20201010100603-5c7000b063e3/go
github.com/gohugoio/hugoTestModulesJS/mod1 v0.0.0-20201011174806-5f7e20f9ff4a h1:h/+C4m4Aav50zgU2pfm2+GpuhoEgwVKkiRhDK2fjADs=
github.com/gohugoio/hugoTestModulesJS/mod1 v0.0.0-20201011174806-5f7e20f9ff4a/go.mod h1:IfctxwCwBB4wVUA+bUb4o5x2mvphWPXVLhKaclkpwz4=
github.com/gohugoio/hugoTestModulesJS/mod1 v0.1.0/go.mod h1:IfctxwCwBB4wVUA+bUb4o5x2mvphWPXVLhKaclkpwz4=
+github.com/gohugoio/hugoTestModulesJS/mod1 v0.2.0/go.mod h1:IfctxwCwBB4wVUA+bUb4o5x2mvphWPXVLhKaclkpwz4=
github.com/gohugoio/hugoTestModulesJS/mod2 v0.0.0-20201011192008-decf54abafdd h1:Uu3lXkigL0q13sVksE7NVnoPTyxx4ViYKrNA70QDKA4=
github.com/gohugoio/hugoTestModulesJS/mod2 v0.0.0-20201011192008-decf54abafdd/go.mod h1:uynOkor8I03PIUuDZN4NYQ+Bmkye7vNLV5tRUBC2+10=
github.com/gohugoio/hugoTestModulesJS/mod2 v0.1.0/go.mod h1:uynOkor8I03PIUuDZN4NYQ+Bmkye7vNLV5tRUBC2+10=
diff --git a/layouts/index.html b/layouts/index.html
index 7fc60fa..e081f53 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -5,7 +5,7 @@
<title>
{{ .Title }}
</title>
- {{ $js := resources.Get "js/main.js" | js.Build (dict "minify" false "params" (dict "myparam" "Hugo Rocks!!!!!!") ) }}
+ {{ $js := resources.Get "js/main.js" | js.Build (dict "minify" false "params" (dict "myparam" "Hugo Rocks!") ) }}
<script src="{{ $js.RelPermalink }}"></script>
{{ partialCached "jslibs/alpinejs/script-src.html" "-" }}
</head>