File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 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/).
55## Usage
66
77We 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 ) .
99
1010Install the plugin as a development dependency:
1111
@@ -44,6 +44,13 @@ scalaJSLinkerConfig ~= {
4444},
4545```
4646
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+
4754## Configuration
4855
4956The plugin supports the following configuration options:
You can’t perform that action at this time.
0 commit comments