Skip to content

Commit c312b36

Browse files
authored
Added an explicit browserlist for Parcel builds
Added a browserlist to indicate support for modern ES. When Parcel detects a library's browserlist is different then the application browser list it will transpile the library to the version of ES required by the application. This allows developers to specify older browsers (eg. ie 11) and have react-async transparently transpiled.
1 parent ff605ca commit c312b36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"author": "Gert Hengeveld <[email protected]>",
55
"license": "ISC",
66
"homepage": "https://async-library.com",
7+
"browserslist": "last 2 Firefox versions",
78
"repository": "git+https://github.com/async-library/react-async.git",
89
"workspaces": [
910
"examples/*",

0 commit comments

Comments
 (0)