angular.io icon indicating copy to clipboard operation
angular.io copied to clipboard

upgrade/static - mention webpack setup problem

Open petebacondarwin opened this issue 9 years ago • 2 comments

We need to indicate, somewhere in the docs, that there is a workaround needed before you can import the upgrade/static library into a webpack build.

See https://github.com/angular/angular/issues/13137

petebacondarwin avatar Dec 19 '16 11:12 petebacondarwin

I second this, it took me a full day to finally fix this by using the alias. For future references: I got the error "Uncaught SyntaxError: Unexpected token export" in @angular/upgrade/static , line "export { downgradeComponent } from './src/aot/downgrade_component';"

jvanhees avatar Dec 30 '16 15:12 jvanhees

Same to me !

AlexandreHagen avatar Jan 17 '17 16:01 AlexandreHagen