Comments (4)
By default it is transpiling to CJS modules, you'd need to add one of the modules transpilation plugins if you want something different.
from broccoli-babel-transpiler.
Thanks for getting back to me. I figured it was just a plugin thing. I see plenty of plugins that transpile to commonjs but none that go from commonjs to es5? Thought this would be a tad easier but apparently not :)
For what it's worth I'm using Broccoli and the broccoli-babel plugin to do this. Was trying to get away from not having to use something like broccoli-watchify.
from broccoli-babel-transpiler.
from commonjs to es5? Thought this would be a tad easier but apparently not :)
The issue here is that it's much less obvious what this means with regards to modules. It really depends on how you plan to run that ES5 code, what that environment has access to, etc.
from broccoli-babel-transpiler.
Yea I didn't give enough context as to what I'm attempting. Sorry about that. I asked a question with a tad more details on StackOverflow: https://stackoverflow.com/q/58120312/8419587.
Probably should have done that to begin with so I'll close this ticket.
from broccoli-babel-transpiler.
Related Issues (20)
- Version 6.1.4 not tagged "latest" on npm HOT 2
- Update babel-7 branch with latest changes on master. HOT 1
- Improve parallel errors further
- warn/error if duplicate plugins provided
- .babelrc changes do not bust cache HOT 5
- Confusing error message for non-parallelizable plugin HOT 2
- Parallelization Does Not Interop Between Babel 6 and 7 HOT 3
- TypeError: Cannot read property '_parallelBabel' of null HOT 1
- Polyfill missing in output due to bad path handling HOT 6
- upgrade node-workerpool for WorkerThread support HOT 3
- Share worker even if different babel version HOT 2
- Worker process not terminated when Babel emits ReferenceError on malformed options HOT 15
- Suggest using core-js directly HOT 3
- Remove `options.browserPolyfill` option.
- Move babel specific options into `options.babel` property. HOT 1
- @babel/polyfill 7.4.0+ has been deprecated HOT 1
- New release HOT 3
- Does not support latest broccoli-persistent-filter HOT 3
- JOBS=1 does not result in babel transforms being run in the main ember-cli build process
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 broccoli-babel-transpiler.