-
Notifications
You must be signed in to change notification settings - Fork 14
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
Use in ES6. #16
Comments
You don't need to transpile anything. Everything is ready-to-go out of the box. When you However, if you're planning to build it yourself, Just PS: Please don't forget to leave a comment in atom/node-oniguruma#81 which is something you'll like. If they don't respond within a reasonable time frame we'll just go ahead and merge #14 |
Unless I'm missing something, the default output, as installed by npm is targeted at Node.js, and has dependencies on specific capabilities such as |
It isn't targeted at Node.js, instead, it just uses the same module loading method as Node.js; CommonJS that is. In fact, the build process goes an extra mile to ensure no
I see you're using You might need rollup plugins like commonjs loader or similar if you don't have already. |
Closing as stale. Feel free to re-open if necessary. |
Just to confirm - if I wanted to use this in an ES6 project targeted at the browser, I assume I'm going to need to use the TS compiler to transpile to ES6. Is there a better approach, and/or any other gotchas I should be aware of?
The text was updated successfully, but these errors were encountered: