Browse Source

refactor: updated frontend packages

Kristian Vos 2 years ago
parent
commit
3b055872c4
3 changed files with 17 additions and 20 deletions
  1. 1 1
      frontend/Dockerfile
  2. 16 17
      frontend/package.json
  3. 0 2
      frontend/webpack.js

+ 1 - 1
frontend/Dockerfile

@@ -3,7 +3,7 @@ FROM node:14
 RUN apt update
 RUN apt install nginx -y
 
-RUN npm install -g webpack@5.58.1 webpack-cli@4.9.0
+RUN npm install -g webpack@5.64.4 webpack-cli@4.9.1
 
 RUN mkdir -p /opt
 WORKDIR /opt

+ 16 - 17
frontend/package.json

@@ -4,22 +4,21 @@
   },
   "main": "main.js",
   "dependencies": {
-    "@babel/core": "^7.6.2",
-    "@babel/plugin-syntax-dynamic-import": "^7.2.0",
-    "babel-loader": "^8.0.6",
-    "config": "^3.2.2",
-    "css-loader": "^3.2.0",
-    "html-webpack-plugin": "^3.2.0",
-    "node-sass": "^4.12.0",
-    "sass-loader": "^8.0.0",
-    "vue": "^2.6.10",
-    "vue-loader": "^15.7.1",
-    "vue-router": "^3.1.3",
-    "vue-style-loader": "^4.1.2",
-    "vue-template-compiler": "^2.6.10",
-    "webpack": "^4.41.0",
-    "webpack-cli": "^4.9.0",
-    "webpack-dev-server": "^4.3.1",
-    "webpack-md5-hash": "^0.0.6"
+    "@babel/core": "^7.16.0",
+    "@babel/plugin-syntax-dynamic-import": "^7.8.3",
+    "babel-loader": "^8.2.3",
+    "config": "^3.3.6",
+    "css-loader": "^6.5.1",
+    "html-webpack-plugin": "^5.5.0",
+    "node-sass": "^6.0.1",
+    "sass-loader": "^12.3.0",
+    "vue": "^2.6.14",
+    "vue-loader": "^15.9.8",
+    "vue-router": "^3.5.3",
+    "vue-style-loader": "^4.1.3",
+    "vue-template-compiler": "^2.6.14",
+    "webpack": "^5.64.4",
+    "webpack-cli": "^4.9.1",
+    "webpack-dev-server": "^4.6.0"
   }
 }

+ 0 - 2
frontend/webpack.js

@@ -2,7 +2,6 @@ process.env.NODE_CONFIG_DIR = `${__dirname}/dist/config/`;
 const config = require("config");
 
 const VueLoaderPlugin = require("vue-loader/lib/plugin");
-const WebpackMd5Hash = require("webpack-md5-hash");
 const HtmlWebpackPlugin = require("html-webpack-plugin");
 
 module.exports = {
@@ -16,7 +15,6 @@ module.exports = {
 	},
 	plugins: [
 		new VueLoaderPlugin(),
-		new WebpackMd5Hash(),
 		new HtmlWebpackPlugin({
 			hash: true,
 			template: "dist/index.tpl.html",