Open brettz9 opened 4 years ago
I really don't want to introduce browserify. I'd much prefer switching to node modules and using rollup.
@brettz9 This PR does too many things to do a proper review. Can you break it down into smaller PRs? You don't need one per commit, but please at least have everything in each PR related.
I've cut back to avoid a lot of the linting changes (which I can add to a subsequent PR). There are still a number of different items in the PR, but I think it should be a lot easier to review now. Let me know if you need it subdivided further. Most of the changes should be related now to updating the deps and some minor packaging additions (metadata or added config files).
While I know you weren't keen on supporting browserify elsewhere, commonjs-everywhere was not working with the current set-up (complaining about a reserved word in the updated source-map
). I intend to submit a Rollup PR later, but doing that now would necessitate a great deal more changes, making it a lot harder to review at once (e.g., by removing from an IIFE to exports, the indent is changed, causing a lot of diff noise).
It will be nice to get this merged
Hi,
Anything else you need for this? I've got another PR for Rollup/Babel lined up after this, but keeping it more focused for this PR...
@michaelficarra : Might I get a review for this? Would like to supply a native ESM/Rollup PR after this if this is ok.
.editorconfig
bugs
,keywords
, change frommaintainers
toauthors
/contributors
optionator
to a regular dep. (used in published binary file)~FWIW, I've added a commit for adding a babel routine against the new code in case any of the syntax was not fully supported back to Node 4, though I can undo that if final testing determines it is not necessary.~ (Planning to add to a later PR)