Fix webpack start dev server (#2579)

- Use webpack instead of webpack-dev-server (which is no longer
  maintained)
- The webpack -d option requires as string (which is missing) and
  is specified in the config file, therefore use devtool option
  from webpack.config.js
This commit is contained in:
Mark Deepwell 2022-02-07 04:54:33 -08:00 committed by GitHub
parent ecef0feb0c
commit 71fd56000d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
"repository": "https://github.com/transmission/transmission",
"license": "MIT",
"scripts": {
"dev": "WEBPACK_MODE=development webpack-dev-server -d --config webpack.config.js",
"dev": "WEBPACK_MODE=development webpack serve --config webpack.config.js",
"build": "webpack --config webpack.config.js",
"css": "sass --no-source-map style/",
"css:map": "sass style/",