Skip to content
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

docs: prefer esmodule import syntax in README #363

Merged
merged 2 commits into from
Feb 17, 2020

Conversation

ctavan
Copy link
Member

@ctavan ctavan commented Feb 13, 2020

Especially for use in the browser modern ESModule import syntax is
preferable because it allows for proper treeshaking by bundlers like
Webpack/rollup.

Especially for use in the browser modern ESModule import syntax is
preferable because it allows for proper treeshaking by bundlers like
Webpack/rollup.
@ctavan
Copy link
Member Author

ctavan commented Feb 13, 2020

@broofa I found a rather naive workaround at broofa/runmd#2 to be able to continue to use runmd for this project.

@ctavan ctavan requested a review from broofa February 13, 2020 14:27
Copy link
Member

@broofa broofa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've published runmd@1.3.0. Can you try this out with that to make sure it's working as expected? If so, this looks good!

Copy link
Member

@broofa broofa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed commit to bump to runmd@1.3.2. Docs now work with ES6 import syntax (thanks!)

@ctavan ctavan merged commit 561e27b into master Feb 17, 2020
@ctavan ctavan deleted the prefer-esmodule-syntax-in-docs branch February 17, 2020 09:41
@ctavan ctavan mentioned this pull request Feb 17, 2020
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants