Move from webpack to esbuild bundler

This commit is contained in:
Subho 2023-04-11 11:49:10 +05:30
parent 8817969d16
commit dd2245e204
9 changed files with 151 additions and 209 deletions

View file

@ -46,7 +46,7 @@ After changing the code and running `make` again, reload the Cockpit page in
your browser.
You can also use
[watch mode](https://webpack.js.org/guides/development/#using-watch-mode) to
[watch mode](https://esbuild.github.io/api/#watch) to
automatically update the bundle on every code change with
$ npm run watch
@ -106,11 +106,11 @@ Violations of some rules can be fixed automatically by:
Rules configuration can be found in the `.stylelintrc.json` file.
During fast iterative development, you can also choose to not run stylelint.
During fast iterative development, you can also choose to not run eslint/stylelint.
This speeds up the build and avoids build failures due to e. g. ill-formatted
css or other issues:
$ make STYLELINT=0
$ make LINT=0
# Running tests locally