Skip to content

Commit

Permalink
fix(pkg): fix entry file for browser (compiled)
Browse files Browse the repository at this point in the history
Fix to handle `import ejs from 'ejs'` within bundlers such as Webpack
  • Loading branch information
leomp12 committed May 6, 2020
1 parent 195830c commit 3b96bd4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"ejs": "./bin/cli.js"
},
"main": "./lib/ejs.js",
"browser": "ejs.min.js",
"jsdelivr": "ejs.min.js",
"unpkg": "ejs.min.js",
"repository": {
"type": "git",
"url": "git://github.com/mde/ejs.git"
Expand Down

0 comments on commit 3b96bd4

Please sign in to comment.