Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 #156
- Loading branch information