Skip to content

Commit a5848f1

Browse files
Update webpack script for sbt task
1 parent 33ae504 commit a5848f1

File tree

4 files changed

+9
-354
lines changed

4 files changed

+9
-354
lines changed

scala3doc/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,13 @@ the documentation won't work completely if you don't.
4242

4343
Make sure you have installed `node`
4444

45-
- Go to `resources` folder and run: `npm i`
46-
- Start development server and weback in watch mode: `npm run dev`
47-
- Finally, run `sbt scala3/generateTestcasesDocumentation` when you want to preview newest changes
45+
Frontend resources should be built automatically after running any `sbt` task that uses
46+
`generateDocumentation`, such as `sbt scala3/generateTestcasesDocumentation`
47+
48+
You can also do it running npm directly by going to `resources` folder and running `npm i` and `npm run build`.
49+
To see the changes you still need to copy sources to `output` folder, this is normally done automatically by `sbt` task.
50+
51+
You might want to turn on sourcemaps for local development.
4852

4953
## CLI Documentation
5054

0 commit comments

Comments
 (0)