-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
ES6 -> ES5 in npm package #2
Comments
I temporary copied // import neatCsv from 'neat-csv';
import neatCsv from './lib/neat-csv'; |
Relevant discussion: |
In short, no. Longer answer: sindresorhus/ama#446 (comment) |
Your package, your rules :–) For those who also use
|
I'm using create-react-app and its webpack config does not apply babel to stuff in
node_modules
. The app works in dev mode because Chrome understands ES6 pretty well already, but when I runyarn build
, this error shows up:The reason is
=>
inindex.js
, which is not expected. Could you please move from ES6 to ES5 in the published version?Thanks for the wrapper! Saves some time re-implementing it in every new project :–)
The text was updated successfully, but these errors were encountered: