removed mailgo.js from dist

This commit is contained in:
Matteo Manzinello 2020-07-02 11:50:45 +02:00
parent 0d79b8ec91
commit 984eb87022
7 changed files with 9 additions and 1050 deletions

1023
dist/mailgo.js vendored

File diff suppressed because it is too large Load Diff

1
dist/mailgo.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/mailgo.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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

View File

@ -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",