new main file (outside the dist)

This commit is contained in:
Matteo Manzinello 2020-06-18 13:11:53 +02:00
parent f0c5d89153
commit 1dae8d7486
3 changed files with 4 additions and 4 deletions

View File

@ -10,8 +10,8 @@
"type": "git", "type": "git",
"url": "git+https://github.com/manzinello/mailgo.git" "url": "git+https://github.com/manzinello/mailgo.git"
}, },
"main": "dist/mailgo.js", "main": "./mailgo.main.js",
"module": "dist/mailgo.js", "module": "./mailgo.main.js",
"keywords": [ "keywords": [
"mailto", "mailto",
"mail", "mail",

View File

@ -40,8 +40,8 @@ module.exports = [
minimize: false, minimize: false,
}, },
output: { output: {
filename: "mailgo.js", filename: "mailgo.main.js",
path: path.resolve(__dirname, "dist"), path: path.resolve(__dirname),
}, },
}, },
]; ];