File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ A [Vite](https://vitejs.dev/) plugin for [Scala.js](https://www.scala-js.org/).
5
5
## Usage
6
6
7
7
We assume that you have an existing Vite and Scala.js sbt project.
8
- If not, [ follow the accompanying tutorial] ( https://github.com/ scala-js/scala-js-website/pull/590 ) .
8
+ If not, [ follow the accompanying tutorial] ( https://www. scala-js.org/doc/tutorial/scalajs-vite.html ) .
9
9
10
10
Install the plugin as a development dependency:
11
11
@@ -44,6 +44,13 @@ scalaJSLinkerConfig ~= {
44
44
},
45
45
```
46
46
47
+ In development mode, use two terminals in parallel:
48
+
49
+ * One with ` $ npm run dev ` .
50
+ * One with ` $ sbt '~fastLinkJS' ` (or a more precise version such as ` $ sbt '~theJSProject/fastLinkJS ` ).
51
+
52
+ For the production build, ` $ npm run build ` is enough.
53
+
47
54
## Configuration
48
55
49
56
The plugin supports the following configuration options:
You can’t perform that action at this time.
0 commit comments