1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 08:13:27 +00:00

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

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/",