Comments (6)
Sorry, I target node.js, if users want to use my modules in legacy browsers, it's up to them to transpile them. More importantly, those users know better which features they have to transpile than I do.
Btw, create-react-app
extensively uses ES6+ features via Babel/Webpack, but is still unable to deal with (mature) ES6 features in dependencies. Trying to put the blame on maintainers of node.js packages is quite bizarre in my opinion.
Anyway, @glcheetham thanks for publishing your fork at npm. See also facebook/create-react-app#1125 for more workarounds.
from merge-options.
See my PR #5
from merge-options.
@schnittstabil could you please take a look at #5. I am really need it.
from merge-options.
@kisenka you can use my fork instead https://www.npmjs.com/package/merge-options-es5
npm i merge-options-es5
from merge-options.
FYI, we're starting the work to compile deps with babel-preset-env
in Create React App: facebook/create-react-app#3776
Let us know if you have feedback about how this should work.
from merge-options.
@kisenka , @glcheetham , it's a bit hacky, but we just run an inline babel
build on merge-options
in our postinstall
script:
package.json
"postinstall":
"babel node_modules/merge-options/index.js -o node_modules/merge-options/index.js"
.babelrc
{
"presets": ["env"]
}
from merge-options.
Related Issues (15)
- Is this different in results than lodash.merge? HOT 1
- CVE HOT 1
- [Request] Keep first param reactive like Object.assign HOT 1
- npm audit reports this package as problematic for prototype pollution HOT 6
- undefined values are merged HOT 4
- Can a stable release be published? HOT 1
- TypeScript is not supported HOT 5
- node 12 support? HOT 2
- cjs/esm support breaks IntelliSense of VSCode HOT 1
- Rollup complains
- Breaking in webpack when ignore node_modules HOT 9
- [production build] Unexpected token: operator (>) [scripts/main_d82bc1a8.js:7487,44] HOT 1
- Snyk vulnerability report HOT 3
- Consideration for Alternate Array Handling HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from merge-options.