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",
"url": "git+https://github.com/manzinello/mailgo.git"
},
"main": "dist/mailgo.js",
"module": "dist/mailgo.js",
"main": "./mailgo.main.js",
"module": "./mailgo.main.js",
"keywords": [
"mailto",
"mail",

View File

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