JackMorrissey / beyond-rule-4

YNAB Financial Independence (FIRE) Calculator
https://beyondrule4.jmmorrissey.com
MIT License
88 stars 21 forks source link

Migrate off of ng2-cookies #39

Open JackMorrissey opened 3 years ago

JackMorrissey commented 3 years ago

Migrate from ng2-cookies

After upgrading to Angular 11 I'm seeing

Warning: beyond-rule-4\src\app\ynab-api\ynab-api.service.ts depends on 'ng2-cookies'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Since upgrading to Angular 11 killed IE 11 support anyways, we can probably just do this the simple way without a library.