manfredsteyer / module-federation-plugin-example

264 stars 182 forks source link

Update to angular 13 #20

Open MarioGit1 opened 2 years ago

MarioGit1 commented 2 years ago

The example works perfectly with angular 12 but with angular 13 it ends up in following error: "Cannot use 'import.meta' outside a module"

Is there a way to fix this issue?

"dependencies": { "@angular-architects/module-federation": "^13.0.1", "@angular-architects/module-federation-tools": "^13.0.1", "@angular/animations": "^13.0.2", "@angular/common": "^13.0.2", "@angular/compiler": "^13.0.2", "@angular/core": "^13.0.2", "@angular/forms": "^13.0.2", "@angular/platform-browser": "^13.0.2", "@angular/platform-browser-dynamic": "^13.0.2", "@angular/router": "^13.0.2", "concurrently": "^6.4.0", "rxjs": "~7.4.0", "tslib": "^2.3.1", "word-wrap": "^1.2.3", "zone.js": "~0.11.4" }, "devDependencies": { "@angular-devkit/build-angular": "^13.0.3", "@angular/cli": "^13.0.3", "@angular/compiler-cli": "^13.0.2", "@types/jasmine": "~3.10.2", "@types/jasminewd2": "~2.0.10", "@types/node": "^16.11.9", "codelyzer": "^6.0.2", "jasmine-core": "~3.10.0", "jasmine-spec-reporter": "~5.0.0", "karma": "~5.2.0", "karma-chrome-launcher": "~3.1.0", "karma-coverage": "~2.0.3", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.5.0", "ng-packagr": "^12.0.0-rc.0", "protractor": "~7.0.0", "serve": "^11.3.2", "ts-node": "~8.3.0", "tslint": "~6.1.0", "typescript": "~4.4.4" } Thanks.