Skip to content

Commit

Permalink
Remove replace and update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Oct 12, 2020
1 parent 1432b6a commit c98bffe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions assets/js/main.js
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 2 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c98bffe

Please sign in to comment.