new mailgo.js as main (with webpack)

This commit is contained in:
Matteo Manzinello
2019-05-28 10:08:56 +02:00
parent a4d4680fa3
commit 4695c2368b
4 changed files with 7 additions and 6 deletions

View File

@@ -1,9 +1,10 @@
const path = require("path");
module.exports = {
entry: "./src/mailgo.js",
mode: "production",
entry: "./dist/mailgo.min.js",
output: {
filename: "main.js",
path: path.resolve(__dirname, "dist")
filename: "mailgo.js",
path: path.resolve(__dirname)
}
};