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-10-12 14:19:36 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-10-12 14:19:36 +0300
commitc98bffeaf761d20d5517bcbecb65f71048d000c2 (patch)
treeef55939b9b91546c1ee9ec419a0b4960bca61c2f
parent1432b6ab3b88fac4b26f647df787510ad714319a (diff)
Remove replace and update versionsv0.1.1
-rw-r--r--assets/js/main.js6
-rw-r--r--go.mod6
2 files changed, 4 insertions, 8 deletions
diff --git a/assets/js/main.js b/assets/js/main.js
index 3ed0231..3d03b53 100644
--- a/assets/js/main.js
+++ b/assets/js/main.js
@@ -1,7 +1,5 @@
-// From mod1, but get its data from mod2.
-import { hello1 } from 'core/util';
-// From mod1
-import { hello2 } from 'core/util';
+// From mod1, but hello1 get its data from mod2.
+import { hello1, hello2 } from 'core/util';
// From mod2
import * as data from 'core/util/data.json';
// hello3 lives in mod2 which also have a index.js in util.
diff --git a/go.mod b/go.mod
index 1e45ab2..08cf276 100644
--- a/go.mod
+++ b/go.mod
@@ -5,9 +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.0.0-20201011174806-5f7e20f9ff4a // indirect
- github.com/gohugoio/hugoTestModulesJS/mod2 v0.0.0-20201011192008-decf54abafdd // indirect
+ github.com/gohugoio/hugoTestModulesJS/mod1 v0.1.0 // indirect
+ github.com/gohugoio/hugoTestModulesJS/mod2 v0.1.0 // indirect
)
-replace github.com/gohugoio/hugoTestModulesJS/mod1 => ../hugoTestModulesJS/mod1
-replace github.com/gohugoio/hugoTestModulesJS/mod2 => ../hugoTestModulesJS/mod2 \ No newline at end of file