shakapacker
Advanced tools
Changelog
[v6.5.6] - February 11, 2023
Fixed failing to update bin/setup
file due to different formats of the file in different versions of Rails. PR 229 by ahangarha.
Upgrade several JS dependencies to fix security issues. PR 243 by ahangarha.
Added prepend_javascript_pack_tag
to helpers. Allows to move an entry to the top of queue. Handy when calling from the layout to make sure an entry goes before the view and partial append_javascript_pack_tag
entries. PR 235 by paypro-leon.
Fixed issue to support directories under node_modules/*
in the additional_paths
property of webpacker.yml
PR 240 by vaukalak.
Remove unneeded code related to CSP config for generator. PR 223 by ahangarha.
Changelog
[v6.5.3] - November 1, 2022
bundler/setup
, webpacker
, and webpacker/webpack_runner
. PR 190 by betmenslido.mini-css-extract-plugin
may cause various warnings indicating CSS order conflicts when using a File-System-based automated bundle generation feature.
CSS order warnings can be disabled in projects where CSS ordering has been mitigated by consistent use of scoping or naming conventions. Added css_extract_ignore_order_warnings
flag to webpacker configuration to disable the order warnings by pulkitkkr in PR 192.Changelog
[v6.5.2] - September 8, 2022
Remove the setting of the NODE_ENV in your bin/webpacker
and bin/webpacker-dev-server
files per PR 185.
ENV["NODE_ENV"] ||= (ENV["RAILS_ENV"] == "production") ? "production" : "development"
Changelog
[v6.5.1] - August 15, 2022
append_javascript_pack_tag
and append_stylesheet_pack_tag
helpers return nil
to prevent rendering the queue into view when using <%= … %>
ERB syntax. PR 167 by ur5us. While <%=
should not be used, it's OK to return nil in case it's misused.nested_entries
configuration. PR 176 by pulkitkkr.Changelog
[v6.4.1] - June 5, 2022
Restores automatic installation of yarn packages removed in #131, with added deprecation notice. PR 140 by tomdracz.
This will be again removed in Shakapacker v7 so you need to ensure you are installing yarn packages explicitly before the asset compilation, rather than relying on this behaviour through asset:precompile
task (e.g. Capistrano deployment).
Disable Spring being used by rails-erb-loader
. PR 141 by tomdracz.