File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,26 @@ git clone https://github.com/Quafadas/viteless.git && \
1212cd viteless && \
1313cs launch io.github.quafadas::sjsls:{{projectVersion}}
1414```
15+ Note that to work, you need the following directives in scala-cli:
16+
17+ ``` scala
18+ //> using scala 3.7.0
19+ //> using platform js
20+ //> using jsModuleKind es
21+ //> using jsEmitSourceMaps true
22+ //> using jsModuleSplitStyleStr smallmodulesfor
23+ //> using jsSmallModuleForPackage boid
24+
25+ ```
26+
1527
1628## It worked... okay... I have 20 more seconds
1729
1830Edit ` hello.scala ` and save the change. You should see the change refreshed in your browser.
1931
32+
33+
34+
2035## Aw shoot - errors
2136
2237The command above assumes you have coursier (as cs) and scala-cli installed and available on your path.
You can’t perform that action at this time.
0 commit comments