{"action":"closed","issue":{"url":"https://api.github.com/repos/webpack-contrib/closure-webpack-plugin/issues/61","repository_url":"https://api.github.com/repos/webpack-contrib/closure-webpack-plugin","labels_url":"https://api.github.com/repos/webpack-contrib/closure-webpack-plugin/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/webpack-contrib/closure-webpack-plugin/issues/61/comments","events_url":"https://api.github.com/repos/webpack-contrib/closure-webpack-plugin/issues/61/events","html_url":"https://github.com/webpack-contrib/closure-webpack-plugin/issues/61","id":348952416,"node_id":"MDU6SXNzdWUzNDg5NTI0MTY=","number":61,"title":"Add support for \"goog.module.declareNamespace\"","user":{"login":"luzhang","id":2073690,"node_id":"MDQ6VXNlcjIwNzM2OTA=","avatar_url":"https://avatars2.githubusercontent.com/u/2073690?v=4","gravatar_id":"","url":"https://api.github.com/users/luzhang","html_url":"https://github.com/luzhang","followers_url":"https://api.github.com/users/luzhang/followers","following_url":"https://api.github.com/users/luzhang/following{/other_user}","gists_url":"https://api.github.com/users/luzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/luzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luzhang/subscriptions","organizations_url":"https://api.github.com/users/luzhang/orgs","repos_url":"https://api.github.com/users/luzhang/repos","events_url":"https://api.github.com/users/luzhang/events{/privacy}","received_events_url":"https://api.github.com/users/luzhang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-09T02:05:55Z","updated_at":"2018-10-10T17:48:48Z","closed_at":"2018-10-10T17:48:48Z","author_association":"NONE","body":"Hi,\r\n\r\nI tried the same setup as the mixed module [demo](https://github.com/webpack-contrib/closure-webpack-plugin/tree/master/demo/mixed-modules). Some ES6 modules files have `goog.module.declareNamespace()` to be compatible with `goog.require()`, so I customized the deps writer a bit so it can include those files in deps.js, e.g. `goog.addDependency('path/to//app.js', ['a.b.c'], [], {'module':'es6'}); `.\r\n\r\nThe output JS file looks fine and does include those ES6 module files with \"goog.module.declareNamespace(a.b.c)'. But goog.require(a.b.c) returns undefined. So I wonder if there is a way to let Closure compiler to parse those \"goog.module.declareNamespace\"?\r\n\r\nI only see this issue in development mode so far.\r\n\r\nThanks,\r\nLu"}}
{"actor":{"display_login":"luzhang"}}