Skip to content

Unused runtime deps: jquery, popper.js, @popperjs/core bloat install #367

Description

@chirag127

Problem

package.json declares runtime deps that are never imported by source, and ships two conflicting Popper versions.

Read cite

package.json lines 20-25:

"dependencies": {
  "@popperjs/core": "^2.11.6",
  "bootstrap": "^5.2.3",
  "jquery": "^3.6.3",
  "popper.js": "^1.16.1",
  "vanilla-tilt": "^1.8.0"
}

src/index.js (full contents) only imports ./scripts/scrollReveal and ./scripts/tiltAnimation. src/index.html loads a single <script defer type="module" src="index.js"></script>. src/styles.scss and src/sass/vendors/_bootstrap.scss (@import "~bootstrap/scss/bootstrap") only pull Bootstrap's SCSS — no JS.

Actual

  • jquery never imported (Bootstrap 5 does not require it)
  • popper.js@1 is the deprecated v1 name; @popperjs/core@2 is its successor — both are listed
  • Neither Popper package is imported (Bootstrap 5 JS components not used)

Expected

Remove jquery, popper.js, and @popperjs/core from dependencies. Keep only bootstrap and vanilla-tilt.

Environment

bootstrap ^5.2.3, parcel ^2.8.2 per package.json; README still says "Bootstrap v4.3" (separate doc drift).

Thanks for maintaining cobiwave/simplefolio!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions