Skip to content

Commit

Permalink
Chore: Remove unnecessary packages
Browse files Browse the repository at this point in the history
Because:
- I think we needed these at one point for Webpack to compile correctly.
- We shouldn't need to load them in directly, any packages that depend on them, will have them as their dependency.

This commit:
- Removes core-js package
- Removes regenerator-runtime package
  • Loading branch information
KevinMulhern committed Aug 10, 2024
1 parent 01bc33e commit ac9eee1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions app/javascript/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import 'core-js/stable';
import 'regenerator-runtime/runtime';
import './controllers';
import '@hotwired/turbo-rails';
import './src/custom_turbo_stream_actions';
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"chartjs-plugin-crosshair": "^2.0.0",
"chartjs-plugin-tailwindcss-colors": "^0.2.2",
"chokidar": "^3.6.0",
"core-js": "^3.37.0",
"debounce": "^1.2.1",
"el-transition": "^0.0.7",
"esbuild": "^0.23.0",
Expand All @@ -32,7 +31,6 @@
"postcss": "^8.4.40",
"postcss-import": "^16.1.0",
"prismjs": "^1.29.0",
"regenerator-runtime": "^0.14.1",
"sortablejs": "^1.15.0",
"stimulus-use": "^0.51.3",
"tailwindcss": "^3.4.1",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ac9eee1

Please sign in to comment.