File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed
bundler-demo/src/main/assets
global-demo/src/main/assets Expand file tree Collapse file tree 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")
3131val compileStatics = taskKey[Unit ](" Compiles all static files." )
3232val copyAssets = taskKey[Unit ](" Copies all assets to the target directory." )
3333
34- lazy val root : Project = project.in(file(" ." ))
34+ lazy val root = project.in(file(" ." ))
3535 .aggregate(`jquery-bundler-demo`, `jquery-global-demo`)
3636 .settings(
3737 crossScalaVersions := Nil ,
@@ -59,7 +59,7 @@ lazy val `jquery-global-demo` = project.in(file("global-demo"))
5959
6060 copyAssets := {
6161 IO .copyFile(
62- root.base / " src/ main/assets/index.html" ,
62+ sourceDirectory.value / " main/assets/index.html" ,
6363 generatedGlobalDir / " index.html"
6464 )
6565 },
@@ -88,7 +88,7 @@ lazy val `jquery-bundler-demo` = project.in(file("bundler-demo"))
8888
8989 copyAssets := {
9090 IO .copyFile(
91- root.base / " src/ main/assets/index.html" ,
91+ sourceDirectory.value / " main/assets/index.html" ,
9292 generatedBundlerDir / " index.html"
9393 )
9494 },
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