-
-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose default treeadapter #301
Comments
@jacobbogers vote 4 my issue #307 :) i will refactor to clean esm and produce babel cjs compatible version |
I think your proposal covers refactoring to ES2020 standard, but I just want expose "hidden" treeadapter, I will make PR for this, no worries, about your issue, lets discuss in your issue. |
@jacobbogers i will refactor to ES2020 and compile down to what ever the consumer needs and that will expose everything as a module including the treeAdapter :)
|
I can now do:
but aesthetically not gorgeous like the rest of this wonderful code and a bit of a hacky , could the default parser be exported as
require('parse5/adaptor-default')
orrequire(
parse5/default-adaptor);
orconst { adapter } = require('parse5');
and expose it officially this wayMy 2cts
The text was updated successfully, but these errors were encountered: