Skip to content

Commit dc72c2e

Browse files
committed
drop support for webpacker 3
1 parent f0ee42f commit dc72c2e

File tree

98 files changed

+2779
-2589
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+2779
-2589
lines changed

Appraisals

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@ appraise 'rails-5.2-sprockets_3' do
1414
gem 'therubyrhino', :platforms => :jruby
1515
end
1616

17-
appraise 'rails-5.2_no_sprockets_webpacker_3' do
18-
gem 'rails', '~> 5.2.x'
19-
gem 'webpacker', '~> 3.0'
20-
gem 'mini_racer', :platforms => :mri
21-
gem 'therubyrhino', :platforms => :jruby
22-
end
23-
2417
appraise 'rails-5.2_no_sprockets_webpacker_4' do
2518
gem 'rails', '~> 5.2.x'
2619
gem 'webpacker', '~> 4.0'

gemfiles/rails_5.2_no_sprockets_webpacker_3.gemfile

Lines changed: 0 additions & 10 deletions
This file was deleted.

gemfiles/rails_5.2_no_sprockets_webpacker_3.gemfile.lock

Lines changed: 0 additions & 251 deletions
This file was deleted.

lib/react/server_rendering/bundle_renderer.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,8 @@ def assets_precompiled?
103103
def asset_container_class
104104
if self.class.asset_container_class.present?
105105
self.class.asset_container_class
106-
elsif SeparateServerBundleContainer.compatible? && self.class.dont_use_webpacker_manifest
106+
elsif SeparateServerBundleContainer.compatible?
107107
SeparateServerBundleContainer
108-
elsif WebpackerManifestContainer.compatible?
109-
WebpackerManifestContainer
110108
elsif assets_precompiled?
111109
if ManifestContainer.compatible?
112110
ManifestContainer

lib/react/server_rendering/webpacker_manifest_container.rb

Lines changed: 0 additions & 96 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/dummy_webpacker3/package.json renamed to test/dummy_webpacker4/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"dependencies": {
3-
"@rails/webpacker": "^3.0.1",
3+
"@rails/webpacker": "^4.0.0",
44
"babel-preset-react": "^6.24.1",
55
"create-react-class": "^15.6.2",
66
"prop-types": "^15.6.0",

0 commit comments

Comments
 (0)