ampproject / ampproject/rollup-plugin-closure-compiler
How to include closure libraries in compilation ?
Open
question
- Dominant language
- TypeScript
- Stars
- 293
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
I'm using closure library with goog.require syntax, e.g.
```javascript
goog.require('goog.net.createWebChannelTransport');
```
On compilation, I got error that says required "goog.net.createWebChannelTransport" namespace never provided. I have tried to set js properties in compiler options like:
```javascript
compiler({
js: 'node_modules/google-closure-library/closure/goog/**/*.js'
})
```
but it doesn't work. Am I doing something wrong? How do I include closure libraries in compilation?
Contributor guide
Assessment
This issue has not been assessed yet.