Skip to content

Commit d9dc0a5

Browse files
committed
feat: add main and sideEffects in pkg.json
1 parent 6750d62 commit d9dc0a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

template/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "or-<%= name %>",
33
"description": "<%= description %>",
44
"main": "lib/index.js",
5-
"jsnext:main": "src/index.js",
5+
"module": "es/index.js",
6+
"sideEffects": true,
67
"scripts": {
78
"test": "jest -c jest.config.js --bail --coverage",
89
"clean": "rimraf lib es",

0 commit comments

Comments
 (0)