Skip to content

Commit

Permalink
chore(JGIVEN-3): fix dev server
Browse files Browse the repository at this point in the history
Signed-off-by: l-1squared <[email protected]>
  • Loading branch information
l-1squared committed Oct 2, 2024
1 parent 8f9d489 commit 88f2ba2
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 5 deletions.
12 changes: 12 additions & 0 deletions legacy/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"webpack.config.js"
],
"scripts": {
"start": "webpack-dev-server --progress --colors --port 8085",
"debug": "webpack-dev-server -d --progress --colors",
"start": "webpack-dev-server --progress --port 8085",
"debug": "webpack-dev-server -d --progress",
"test": "karma start --debug --single-run --browsers jsdom",
"test-watch": "karma start --debug",
"build": "mkdir dist && webpack --progress",
Expand All @@ -22,6 +22,7 @@
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.25.4",
"@types/webpack": "^5.28.5",
"angular-mocks": "1.5.8",
"autoprefixer": "^10.4.20",
"babel-loader": "^8.0.0",
Expand Down
3 changes: 1 addition & 2 deletions legacy/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,9 @@ module.exports = {
],
devtool: isTest ? 'inline-source-map' : isRelease ? 'source-map' : 'eval-source-map',
devServer: {
contentBase: path.join(__dirname, 'src/public'),
static: path.join(__dirname, 'src/public'),
compress: true,
port: 9000,
stats: 'minimal'
},
stats: {
colors: true,
Expand Down
11 changes: 10 additions & 1 deletion legacy/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1159,6 +1159,15 @@
dependencies:
"@types/node" "*"

"@types/webpack@^5.28.5":
version "5.28.5"
resolved "https://registry.npmjs.org/@types/webpack/-/webpack-5.28.5.tgz"
integrity sha512-wR87cgvxj3p6D0Crt1r5avwqffqPXUkNlnQ1mjU93G7gCuFjufZR4I6j8cz5g1F1tTYpfOOFvly+cmIQwL9wvw==
dependencies:
"@types/node" "*"
tapable "^2.2.0"
webpack "^5"

"@types/ws@^8.5.5":
version "8.5.12"
resolved "https://registry.npmjs.org/@types/ws/-/ws-8.5.12.tgz"
Expand Down Expand Up @@ -5590,7 +5599,7 @@ webpack-sources@^3.2.3:
resolved "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz"
integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==

"webpack@^4.0.0 || ^5.0.0", "webpack@^4.37.0 || ^5.0.0", webpack@^5.0.0, webpack@^5.1.0, webpack@^5.20.0, webpack@>=2, [email protected]:
"webpack@^4.0.0 || ^5.0.0", "webpack@^4.37.0 || ^5.0.0", webpack@^5, webpack@^5.0.0, webpack@^5.1.0, webpack@^5.20.0, webpack@>=2, [email protected]:
version "5.95.0"
resolved "https://registry.npmjs.org/webpack/-/webpack-5.95.0.tgz"
integrity sha512-2t3XstrKULz41MNMBF+cJ97TyHdyQ8HCt//pqErqDvNjU9YQBnZxIHa11VXsi7F3mb5/aO2tuDxdeTPdU7xu9Q==
Expand Down

0 comments on commit 88f2ba2

Please sign in to comment.