Comments (4)
Sorry for the slow response. I overlooked this issue in the last days.
Accessor support was added in d65bd3e.
We haven't had a tsickle release since then, mostly because we consider tsickle unsupported. Tsickle is only useful with Closure Compiler and unless you have specific use cases you're probably better off with one of the newer minifiers out there.
from tsickle.
I see. I am using the Closure Compiler - in fact I've been using the Closure Compiler since about 2011, maybe 2012, to compile a library (GoJS). When we moved to TypeScript I originally looked at tsickle but rejected it, and instead wrote my own convoluted script to massage the TS output to work in the CC. This has been fine for years.
However, Closure Compiler recently deprecated the @expose
flag, which I was making heavy use of, so I figured I should make real externs, hence renewed interest in how tsickle is doing it.
Thank you for replying. I suppose I should close this.
from tsickle.
Yeah, I'm sorry about that. I would recommend you try one of the newer minifiers (terser, esbuild, swc) and see if you can get similar results from them. We found these optimize most open source libraries really well and are much faster than Closure Compiler.
from tsickle.
The closure Compiler is a beautiful piece of software, and the size gains are really good (though people don't care as much about bundle size a decade later), so I hope to keep using it. But I may need to roll my own externs-maker. Thanks for you explanations.
from tsickle.
Related Issues (20)
- target ES2015 combined with external jquery reference throws JSC_REDECLARED_VARIABLE_ERROR HOT 1
- commonJsToGoogmoduleTransformer misses some `module.exports = ...` statements. HOT 5
- Use interfaces instead of namespaces in externs HOT 4
- Is tsickle intended to be used with json files? HOT 1
- can you do a release? HOT 18
- using clutz with a goog.module HOT 1
- package.json from npm appears to point to the wrong source directory HOT 7
- 0.41.0 installed via `npm i [email protected]` includes has possible debug line in it? HOT 1
- Stack overflow when translating a type with circular type parameter HOT 3
- exporting functions instead of classes HOT 2
- No version supporting Typescript 4.5 publicly available HOT 3
- Could not resolve dependency h-joo/TypeScript#ts45-no-double-comments HOT 8
- [email protected] references typescript version that doesnt exist HOT 1
- Enum values translated incorrect if using namespace HOT 8
- Could you release a NPM package? HOT 3
- String enums are converted to externs with empty strings enums HOT 5
- tsickle npm version compatible with Angular v15 HOT 3
- BUG: version 0.47.0 not auto released, typescript incompatibility for angular 15.2.1 HOT 1
- Security Policy violation Outside Collaborators 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 tsickle.