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 && \
12
12
cd viteless && \
13
13
cs launch io.github.quafadas::sjsls:{{projectVersion}}
14
14
```
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
+
15
27
16
28
## It worked... okay... I have 20 more seconds
17
29
18
30
Edit ` hello.scala ` and save the change. You should see the change refreshed in your browser.
19
31
32
+
33
+
34
+
20
35
## Aw shoot - errors
21
36
22
37
The 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