Skip to content

Commit

Permalink
remove browser field
Browse files Browse the repository at this point in the history
  • Loading branch information
shuowu committed Jan 17, 2022
1 parent 0f3caf6 commit aebbd9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ packageJSON.private = false;
packageJSON.scripts.prepare = '';

// Remove "build/" from the entrypoint paths.
['main', 'module', 'browser', 'types'].forEach(function(key) {
['main', 'module', 'types'].forEach(function(key) {
const value = packageJSON[key];
if (typeof value === 'object' && value !== null) {
packageJSON[key] = Object.keys(value).reduce((acc, curr) => {
Expand Down

0 comments on commit aebbd9d

Please sign in to comment.