Fix error on build
This commit is contained in:
parent
24a1291e52
commit
a1ae0a0167
|
@ -17,8 +17,8 @@ const path = require("path");
|
||||||
const config = require("./config.json");
|
const config = require("./config.json");
|
||||||
const CleanWebpackPlugin = require("clean-webpack-plugin");
|
const CleanWebpackPlugin = require("clean-webpack-plugin");
|
||||||
|
|
||||||
const extVersion = require("./src/manifest.json").version;
|
const extVersion = require("./src/manifest-chrome.json").version;
|
||||||
const ffExtVersion = require("./src/manifest-ff.json").version;
|
const ffExtVersion = require("./src/manifest-firefox.json").version;
|
||||||
|
|
||||||
const generalConfig = {
|
const generalConfig = {
|
||||||
mode: "production",
|
mode: "production",
|
||||||
|
@ -133,7 +133,7 @@ module.exports = [
|
||||||
src: path.resolve(__dirname, "src/")
|
src: path.resolve(__dirname, "src/")
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
entry: { other: path.resolve(__dirname, `src/replaced/replaced.js`) },
|
entry: { other: path.resolve(__dirname, `src/background/background.js`) },
|
||||||
output: getOutput("copiedSource", config.tempDirectory),
|
output: getOutput("copiedSource", config.tempDirectory),
|
||||||
plugins: [
|
plugins: [
|
||||||
new CopyWebpackPlugin([
|
new CopyWebpackPlugin([
|
||||||
|
|
Loading…
Reference in a new issue