new mailgo.js as main (with webpack)
This commit is contained in:
parent
a4d4680fa3
commit
4695c2368b
1
dist/main.js
vendored
1
dist/main.js
vendored
File diff suppressed because one or more lines are too long
@ -3,13 +3,13 @@
|
|||||||
"version": "0.5.1",
|
"version": "0.5.1",
|
||||||
"description": "a different mailto",
|
"description": "a different mailto",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "gulp"
|
"build": "gulp && webpack"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/manzinello/mailgo.git"
|
"url": "git+https://github.com/manzinello/mailgo.git"
|
||||||
},
|
},
|
||||||
"main": "./dist/mailgo.min.js",
|
"main": "./mailgo.js",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"mailto",
|
"mailto",
|
||||||
"mail"
|
"mail"
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
const path = require("path");
|
const path = require("path");
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: "./src/mailgo.js",
|
mode: "production",
|
||||||
|
entry: "./dist/mailgo.min.js",
|
||||||
output: {
|
output: {
|
||||||
filename: "main.js",
|
filename: "mailgo.js",
|
||||||
path: path.resolve(__dirname, "dist")
|
path: path.resolve(__dirname)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user