You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node modules are being renamed from: import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
to: goog.require('_.._angular.platform_browser_dynamic');
and cant be found by Google Closure Compiler.
Slashes become dots and dashes become underscores. The @ is removed and prefixed with _.._
Is there a way to preserve node_module imports exclusively, or avoid renaming imports entirely?
I suspect the problem is that tsickle still does not produce the right
module names when run outside of bazel. Using slashes or something similar
won't help, the `goog.require()` name has to match the `goog.module()`
declaration in the file that's being imported.
Node modules are being renamed from:
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
to:
goog.require('_.._angular.platform_browser_dynamic');
and cant be found by Google Closure Compiler.
Slashes become dots and dashes become underscores. The @ is removed and prefixed with
_.._
Is there a way to preserve node_module imports exclusively, or avoid renaming imports entirely?
tsickle script:
tsickle --typed --externs=./externs.js -- --lib es2015,es6,dom
tsconfig.json:
Dependencies:
The text was updated successfully, but these errors were encountered: