Skip to content

Commit 99ee554

Browse files
authored
Add module to package.json for rollup/webpack (#281)
This will allow users to consume the original esm modern code. This would make #275 a minor non-blocking issue. :)
1 parent 1623cfe commit 99ee554

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"regular expression",
1616
"unicode"
1717
],
18-
"main": "./lib",
18+
"main": "./lib/index.js",
19+
"module": "./src/index.js",
1920
"files": [
2021
"src",
2122
"lib",

0 commit comments

Comments
 (0)