Getting Started with Google closure library
Getting Started with Google closure library
October 19, 2019
Some JavaScript library depends on Google Closure. If you need to understand the behavior of such a library, you have to know closure. The official document of closure library is here. And using Closure compiler, we can bundle codes with those libraries. There is npm version to use such a compiler.
Examples
- ./index.html
- Sample to use google closure library
- hello.js
- first sample using google cloud compiler
- myproject/start.js, myproject/klass.js
- Sample using module
- TODO
- Sample to use gooogle closure library and compile
Google closure compiler
The compiler can be downloaded by npm.
> npm install --save-dev google-closure-compiler
Last updated on