Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Use plugins `google-closure-deps-webpack-plugin` and `closure-webpack-plugin` support Closure Library in webpack.

Notifications You must be signed in to change notification settings

funte/template-closure-webpack-plugin-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

closure-webpack-plugin Template

Use Google-Closure-Library in webpack.

To run this app with NPM cli:

npm install
npm run build

Then use browser open the html files in directory build.

example

  • ./build/goog-require-example.html
    Sample with traditional goog.require(without return) and goog.provide. If use goog.provide defines a top namespace 'Foo', this will create a global variable just like the 'goog' after require. So, never use goog.provide defines too many top namespace.
  • ./build/goog-module-example.html
    Import the Closure module defined by goog.module.
  • ./build/goog-declare-example.html
    Show how make cross reference between ES6 and Closure module.

About

Use plugins `google-closure-deps-webpack-plugin` and `closure-webpack-plugin` support Closure Library in webpack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published