-
Hi there,
We have a very large Angular 2 codebase that we're attempting to move over to `ts-loader`; we're getting massive (4-5x) speed boosts compared to our existing awesome-typescript-loader set…
-
I noticed that my `commonjs` build included the incorrectly transformed `invariant(false)`.
This is incorrect as the `import` is being transformed to `var _invariant` and `invariant` isn't defined…
-
I've reworked zipcelx into a class since it fits better into our application workflow. Just leaving this here for reference in case this is useful to you.
Notably, the public API is split between `…
-
```js
//js class
class Bar {
doStuff() {
console.log('stuff');
}
}
//js class instance with new
//without new is right?
var b = new Bar();
b.doStuff() // "stuff"
```
-
Does this issue occur when all extensions are disabled? **Yes**
- VS Code Version: 1.94.2, commit 384ff7382de
- OS Version: Windows 22H2, WSL2 Ubuntu 22.04.5 LTS
**I have the project open i…
-
A couple of issues with a huge pile of comments shows there is some confusion as to how (if at all possible) one can stub constructors in ES6/ES2015 classes. This has been answered in the comments, bu…
-
This is a good time to bring this codebase into 2016. Modern JS doesn't need us to write `var self = this;` and `Foo.prototype.thing = function() { ... }` all over the place.
I've done this in a bran…
sstur updated
8 years ago
-
Add some short examples and then link to other resources (mdn, books like Exploring ES6, etc)
- es2016
- [ ] Array.protortype.includes
- [ ] **
- es2017
- [ ] async/await
- [ ] Object.…
-
it seems babel `6.14.0` introduced a new branch when transforming es2015 classes
https://github.com/babel/babel/commit/10cd6519d8f0374e8beb02a04f20da0123c52414
which (i think) results in a newly unc…
-
They might make a ton of things easier.
We can fall back to the old method if they are unavailable.
I don’t have time for this right now but it’s a perfect opportunity to get involved with the projec…