aboutsummaryrefslogtreecommitdiffhomepage
path: root/webpack/webpack.manifest.js
diff options
context:
space:
mode:
authorMichael C <[email protected]>2022-02-05 21:20:53 -0500
committerAjay <[email protected]>2022-02-06 13:24:47 -0500
commit1bd7c6a33ad2812b581af1c0e56d41f171b042a4 (patch)
treebcff4aded0d21a8af0d2a225807388031c40e70a /webpack/webpack.manifest.js
parentf5301fc374e698a8e3b0f98fa348af1c2ceff934 (diff)
downloadSponsorBlock-1bd7c6a33ad2812b581af1c0e56d41f171b042a4.tar.gz
SponsorBlock-1bd7c6a33ad2812b581af1c0e56d41f171b042a4.zip
update depndencies
- add engines targeting dev - bump webpack - update-oss-attribution CI - appease eslint for webpack - clean up packages - move @types to devDependencies - moved concurrently to devDependencies - remove unused babel
Diffstat (limited to 'webpack/webpack.manifest.js')
-rw-r--r--webpack/webpack.manifest.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/webpack/webpack.manifest.js b/webpack/webpack.manifest.js
index a4aaea9e..3e30ffc6 100644
--- a/webpack/webpack.manifest.js
+++ b/webpack/webpack.manifest.js
@@ -1,7 +1,8 @@
+/* eslint-disable @typescript-eslint/no-var-requires */
+// eslint-disable-next-line @typescript-eslint/no-unused-vars
const webpack = require("webpack");
const path = require('path');
-const CopyPlugin = require('copy-webpack-plugin');
-const validateOptions = require('schema-utils');
+const { validate } = require('schema-utils');
const fs = require('fs');
@@ -30,12 +31,12 @@ const schema = {
class BuildManifest {
constructor (options = {}) {
- validateOptions(schema, options, "Build Manifest Plugin");
+ validate(schema, options, "Build Manifest Plugin");
this.options = options;
}
- apply(compiler) {
+ apply() {
const distFolder = path.resolve(__dirname, "../dist/");
const distManifestFile = path.resolve(distFolder, "manifest.json");