mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-26 08:13:00 +01:00
Fixes after merges, prettier globally applied
This commit is contained in:
1 parent
58161ac123
commit
b0cb173830
47 files changed
+2183
-1942
No files matched your search
+10
-7
@@ -2,18 +2,23 @@ const path = require("path");
|
||||
const CopyPlugin = require("copy-webpack-plugin");
|
||||
const FileManagerPlugin = require("filemanager-webpack-plugin");
|
||||
|
||||
const entries = ['ryd.content-script', 'ryd.background', 'popup'];
|
||||
const entries = ["ryd.content-script", "ryd.background", "popup"];
|
||||
|
||||
const ignorePatterns = [
|
||||
"**/manifest-**",
|
||||
"**/dist/**",
|
||||
"**/src/**",
|
||||
"**/readme.md",
|
||||
...entries.map(entry => `**/${entry}.js`)
|
||||
...entries.map((entry) => `**/${entry}.js`),
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
entry: Object.fromEntries(entries.map(entry => [entry, path.join(__dirname, './Extensions/combined/', `${entry}.js`)])),
|
||||
entry: Object.fromEntries(
|
||||
entries.map((entry) => [
|
||||
entry,
|
||||
path.join(__dirname, "./Extensions/combined/", `${entry}.js`),
|
||||
])
|
||||
),
|
||||
output: {
|
||||
filename: "[name].js",
|
||||
path: path.resolve(__dirname, "Extensions/combined/dist"),
|
||||
@@ -59,13 +64,11 @@ module.exports = {
|
||||
copy: [
|
||||
{
|
||||
source: "./Extensions/combined/dist/**.js",
|
||||
destination:
|
||||
"./Extensions/combined/dist/firefox/",
|
||||
destination: "./Extensions/combined/dist/firefox/",
|
||||
},
|
||||
{
|
||||
source: "./Extensions/combined/dist/**.js",
|
||||
destination:
|
||||
"./Extensions/combined/dist/chrome/",
|
||||
destination: "./Extensions/combined/dist/chrome/",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user