-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
### Summary A lot of dependencies are unused, they seem to be a left over of the old Vue CLI - postcss related: [Vue CLI enables them by default](https://cli.vuejs.org/guide/css.html#postcss) - corejs: both gridsome and vue already declares them as dependencies - eslint-import-resolver-webpack, eslint-config-airbnb-base: unused in the eslint config - some babel stuff related to typescript support for vue: it should't be difficult to support ts in vue any more. New vue cli has good support for that. I was able to enable ts for course plan without much changes: https://github.com/cornell-dti/course-plan/pull/56/files - eslint-plugin-import: already a dependency of vue's eslint plugins ### Test Plan - Linter can run. - Website can be served locally. - Website can be built.
[diff-counting] Significant lines: 33. |
You removed the site's support for Additionally, |
You also removed our SVG loader? |
I see CoursePlan's config did enable TSX support, I will have to look into this. When we upgraded TSX support was not functional out-of-box and required some tweaks and adjustments. |
[deployment-bot] Deployed to https://5ecaf4c9d2193e07618e0411--cornelldti.netlify.app. |
All the svgs still loads, which shows that it is not needed. |
No they don't. You're looking in the wrong place... the |
We could unify our handling... For the site we currently use: https://gridsome.org/plugins/gridsome-plugin-svg while for the CMS we use We could just use |
|
@SamChou19815 changing the site's svg configuration can be punted to a separate PR if we choose to do it. |
Summary
A lot of dependencies are unused, they seem to be a left over of the old Vue CLI
Test Plan