removed mailgo.js from dist
This commit is contained in:
parent
0d79b8ec91
commit
984eb87022
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -306,7 +306,12 @@ var mailgoInit = function mailgoInit(mailgoConfig) {
|
|||
var modal = createElement();
|
||||
modal.style.display = "none";
|
||||
modal.id = "mailgo";
|
||||
modal.classList.add("m-modal"); // background
|
||||
modal.classList.add("m-modal"); // if dark is in config
|
||||
|
||||
if (mailgoConfig === null || mailgoConfig === void 0 ? void 0 : mailgoConfig.dark) {
|
||||
modal.classList.add("m-dark");
|
||||
} // background
|
||||
|
||||
|
||||
var modalBackground = createElement();
|
||||
modalBackground.className = "m-modal-back";
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -33,28 +33,6 @@ module.exports = [
|
|||
path: path.resolve(__dirname, "dist"),
|
||||
},
|
||||
},
|
||||
{
|
||||
mode: "production",
|
||||
target: "web",
|
||||
devtool: "source-map",
|
||||
entry: "./mailgo.dist.ts",
|
||||
context: path.join(__dirname, "webpack"),
|
||||
module: {
|
||||
rules: mailgoRules,
|
||||
},
|
||||
optimization: {
|
||||
minimize: false,
|
||||
},
|
||||
resolve: {
|
||||
extensions: [".ts", ".js"],
|
||||
},
|
||||
output: {
|
||||
filename: "mailgo.js",
|
||||
library: "mailgo",
|
||||
libraryTarget: "window",
|
||||
path: path.resolve(__dirname, "dist"),
|
||||
},
|
||||
},
|
||||
{
|
||||
mode: "production",
|
||||
target: "node",
|
||||
|
|
Loading…
Reference in New Issue