Comments (3)
I appreciate the crazy fast response... but while the example above now compiles, it gets rid of the hash bang entirely. It looks like (https://code.google.com/p/esprima/issues/detail?id=463) Esprima doesnโt support hash bangs, but is there a way that 6to5 could cache the regular expression capture and stick it back on at the end?
from babel.
Oh right duh, sorry! This should be good to go.
from babel.
Wow, you fixed that fast! Cheers!
from babel.
Related Issues (20)
- [Bug]: Wrong transpilling @babel/[email protected] when destructuring to a new object HOT 3
- [Bug]: Code generated by Babel for decorated static accessors throws SyntaxError in Firefox HOT 16
- `@babel/plugin-transform-typescript` turn `const enum`s into `const` variables HOT 5
- [Bug]: Transform block scoping fails with for in statement inside loop HOT 1
- [Bug]: Decorators | Error when calling `super` in constructor of extended class when decorating accessors. HOT 2
- [Bug]: False positive TDZ check in class computed property keys HOT 4
- [Bug]: TypeScript parser does not set typeParameters for CallExpression HOT 3
- What do we need to make `usage-global` injection work with `@babel/runtime`? HOT 2
- [Bug]: Typescript mapped type with implicit any results in faulty TS HOT 1
- [Bug]: Plugin misconfigured or just invalid usage example in the docs HOT 3
- I cannot install the package with the latest eslint version. HOT 3
- [Bug]: @babel/parser adds `.value: undefined` to regexp literals
- CallExpression should not accept JSXNamespacedName as an argument
- [Bug]: `using` in `switch` is not compiled
- [Bug](Typescript): Duplicate declaration error happens when a imported type and function has a same name HOT 4
- Yarn failing on CI on Windows HOT 6
- [Bug]: Cannot find package '@babel/plugin-preset-env' imported HOT 3
- [Bug]: babel compile `proposal-explicit-resource-management` different from `tsc` HOT 6
- Node.js require(esm) and __esModule
- Cleanup `NodePath` methods
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 babel.