Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to Shakapacker #158

Merged
merged 1 commit into from
Sep 3, 2024

Commits on Jul 27, 2024

  1. Add support to Shakapacker

    Shakapacker is the official, actively maintained successor to Webpacker.
    
    Shakapacker v7 changed the spelling of `Webpacker` to `Shakapacker` in
    the entire project, but still provided backward compatibility for
    `Webpacker` spelling.
    
    v8 dropped the deprecated spelling
    
    This commit also:
    - Checks if `Shakapacker` is defined; if not, it falls back on
      `Webpacker`.
    - Uses the scope resolution operator to resolve at top-level
      scope
    - Checks `protocol` instead of `https?` because the former is available
      from Webpacker 3 and the latter is not available anymore in
      Shakapacker >= 8
    
    Refs:
    - shakacode/shakapacker#414
    - shakacode/shakapacker#429
    - shakacode/shakapacker#486
    
    Close jamesmartin#156
    tagliala committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    a9ab1b0 View commit details
    Browse the repository at this point in the history