diff --git a/_scripts/webpack.main.config.js b/_scripts/webpack.main.config.js index 940c0835..d4df75f2 100644 --- a/_scripts/webpack.main.config.js +++ b/_scripts/webpack.main.config.js @@ -25,10 +25,6 @@ const config = { use: 'babel-loader', exclude: /node_modules/, }, - { - test: /\.node$/, - loader: 'node-loader', - }, ], }, // webpack defaults to only optimising the production builds, so having this here is fine diff --git a/_scripts/webpack.renderer.config.js b/_scripts/webpack.renderer.config.js index 4427f828..b6085d4a 100644 --- a/_scripts/webpack.renderer.config.js +++ b/_scripts/webpack.renderer.config.js @@ -38,10 +38,6 @@ const config = { use: 'babel-loader', exclude: /node_modules/, }, - { - test: /\.node$/, - loader: 'node-loader', - }, { test: /\.vue$/, loader: 'vue-loader', diff --git a/_scripts/webpack.workers.config.js b/_scripts/webpack.workers.config.js index 4c5b7a69..1ac26a19 100644 --- a/_scripts/webpack.workers.config.js +++ b/_scripts/webpack.workers.config.js @@ -30,10 +30,6 @@ const config = { use: 'babel-loader', exclude: /node_modules/, }, - { - test: /\.node$/, - loader: 'node-loader', - }, ], }, node: { diff --git a/package.json b/package.json index a2f24ca1..2acc622d 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,6 @@ "html-webpack-plugin": "^5.3.2", "json-minimizer-webpack-plugin": "^4.0.0", "mini-css-extract-plugin": "^2.2.2", - "node-loader": "^2.0.0", "npm-run-all": "^4.1.5", "prettier": "^2.3.2", "rimraf": "^3.0.2", diff --git a/yarn.lock b/yarn.lock index e2fd2de3..450980fb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5378,13 +5378,6 @@ node-forge@^1: resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.3.1.tgz#be8da2af243b2417d5f646a770663a92b7e9ded3" integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== -node-loader@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/node-loader/-/node-loader-2.0.0.tgz#9109a6d828703fd3e0aa03c1baec12a798071562" - integrity sha512-I5VN34NO4/5UYJaUBtkrODPWxbobrE4hgDqPrjB25yPkonFhCmZ146vTH+Zg417E9Iwoh1l/MbRs1apc5J295Q== - dependencies: - loader-utils "^2.0.0" - node-releases@^2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.4.tgz#f38252370c43854dc48aa431c766c6c398f40476"