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

1
dist/main.js vendored

File diff suppressed because one or more lines are too long

1
mailgo.js Normal file

File diff suppressed because one or more lines are too long

View File

@ -3,13 +3,13 @@
"version": "0.5.1",
"description": "a different mailto",
"scripts": {
"build": "gulp"
"build": "gulp && webpack"
},
"repository": {
"type": "git",
"url": "git+https://github.com/manzinello/mailgo.git"
},
"main": "./dist/mailgo.min.js",
"main": "./mailgo.js",
"keywords": [
"mailto",
"mail"

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)
}
};