karma-googmodule-preprocessor

A Karma plugin to support Closure's goog.module().

Usage no npm install needed!

<script type="module">
  import karmaGoogmodulePreprocessor from 'https://cdn.skypack.dev/karma-googmodule-preprocessor';
</script>

README

karma-googmodule

A preprocessor to handle Closure's goog.module() system. Rewrites source files that declare modules using goog.module() so that they are properly loaded by Closure's module loader.