File tree 3 files changed +16
-3
lines changed
bundler-demo/src/main/assets
global-demo/src/main/assets
3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ val generatedGlobalDir = file("generated/global")
31
31
val compileStatics = taskKey[Unit ](" Compiles all static files." )
32
32
val copyAssets = taskKey[Unit ](" Copies all assets to the target directory." )
33
33
34
- lazy val root : Project = project.in(file(" ." ))
34
+ lazy val root = project.in(file(" ." ))
35
35
.aggregate(`jquery-bundler-demo`, `jquery-global-demo`)
36
36
.settings(
37
37
crossScalaVersions := Nil ,
@@ -59,7 +59,7 @@ lazy val `jquery-global-demo` = project.in(file("global-demo"))
59
59
60
60
copyAssets := {
61
61
IO .copyFile(
62
- root.base / " src/ main/assets/index.html" ,
62
+ sourceDirectory.value / " main/assets/index.html" ,
63
63
generatedGlobalDir / " index.html"
64
64
)
65
65
},
@@ -88,7 +88,7 @@ lazy val `jquery-bundler-demo` = project.in(file("bundler-demo"))
88
88
89
89
copyAssets := {
90
90
IO .copyFile(
91
- root.base / " src/ main/assets/index.html" ,
91
+ sourceDirectory.value / " main/assets/index.html" ,
92
92
generatedBundlerDir / " index.html"
93
93
)
94
94
},
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head lang ="en ">
4
+ < meta charset ="UTF-8 ">
5
+ < title > jquery-demo - ScalaJSBundlerPlugin demo</ title >
6
+ </ head >
7
+ < body >
8
+ < div id ="application "> </ div >
9
+
10
+ < script src ="scripts/frontend.js "> </ script >
11
+ < script src ="scripts/frontend-deps.js "> </ script >
12
+ </ body >
13
+ </ html >
You can’t perform that action at this time.
0 commit comments