Skip to content
Snippets Groups Projects

Use webpack for bundling JS libs and move Golang code related to Iframe generation there

Merged Igor Markin requested to merge feature-vcl-webpack-bundle into master
2 files
+ 8
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
1
@@ -7,7 +7,7 @@ import (
@@ -7,7 +7,7 @@ import (
)
)
func GetClientJsLibrary(iframeUrl string) string {
func GetClientJsLibrary(iframeUrl string) string {
dat, err := ioutil.ReadFile("jslibs/viamapi-client.js")
dat, err := ioutil.ReadFile("./javascript/dist/viamapi-client.js")
if err != nil {
if err != nil {
fmt.Println(err.Error())
fmt.Println(err.Error())
Loading