File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,22 +42,35 @@ npm run build
4242yarn build
4343```
4444
45- The build artifacts will be stored in the ` dist/ ` directory.
45+ The build artifacts will be stored in the ` ../target/generated-sources/webreport ` directory.
4646
4747## Preview Production Build
4848
49- To preview the production build locally:
49+ To preview the production build locally (uses existing build without rebuilding) :
5050
5151``` bash
5252npm run preview
5353# or
5454yarn preview
5555```
5656
57+ ## Debug Mode
58+
59+ To run the application in debug mode using static test files:
60+
61+ ``` bash
62+ npm run debug
63+ # or
64+ yarn debug
65+ ```
66+
67+ This will build the project and copy static test files from ` tests/static ` directory to ` ../target/generated-sources/webreport ` before previewing.
68+
5769## Available Scripts
5870
5971- ` dev ` - Start development server
6072- ` build ` - Build for production
6173- ` preview ` - Preview production build
6274- ` lint ` - Run ESLint
63- - ` installAndBuild ` - Install dependencies and build (Yarn only)
75+ - ` installAndBuild ` - Install dependencies, run tests and build (Yarn only)
76+ - ` debug ` - Build the project and run in debug mode using static test files from ` tests/static ` directory
You can’t perform that action at this time.
0 commit comments