new mailgo.js as main (with webpack)
This commit is contained in:
parent
a4d4680fa3
commit
4695c2368b
File diff suppressed because one or more lines are too long
|
@ -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"
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue