Open alex-young opened 6 years ago
Following instructions from https://medium.com/@cyrilletuzi/angular-server-side-rendering-in-node-with-express-universal-engine-dce21933ddce to use universal rendering with apollo-angular results in an error: (function (exports, require, module, __filename, __dirname) { import { RxApolloClient } from './RxApolloClient';
(function (exports, require, module, __filename, __dirname) { import { RxApolloClient } from './RxApolloClient';
From https://github.com/angular/angular-cli/issues/7200 is seems that the issue is related to the format of the library. Maybe using https://github.com/dherges/ng-packagr could help?
Following instructions from https://medium.com/@cyrilletuzi/angular-server-side-rendering-in-node-with-express-universal-engine-dce21933ddce to use universal rendering with apollo-angular results in an error:
(function (exports, require, module, __filename, __dirname) { import { RxApolloClient } from './RxApolloClient';
From https://github.com/angular/angular-cli/issues/7200 is seems that the issue is related to the format of the library. Maybe using https://github.com/dherges/ng-packagr could help?