Skip to content

Commit

Permalink
webpacker を削除し、webpack を導入する
Browse files Browse the repository at this point in the history
  • Loading branch information
koi-chan committed Jan 16, 2024
1 parent b6c4434 commit fb70014
Show file tree
Hide file tree
Showing 16 changed files with 10,412 additions and 8,504 deletions.
1 change: 0 additions & 1 deletion .browserslistrc

This file was deleted.

4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ gem 'uglifier', '>= 1.3'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

# Use Webpack to manage app-like JavaScript modules in Rails
gem 'webpacker', '~> 5.x'
# webpack 用のヘルパーを提供する
gem 'simpacker'

# Use jquery as the JavaScript library
gem 'jquery-rails'
Expand Down
12 changes: 3 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,6 @@ GEM
puma (>= 2.7)
racc (1.7.3)
rack (2.2.8)
rack-proxy (0.7.4)
rack
rack-test (2.1.0)
rack (>= 1.3)
rails (6.1.7.6)
Expand Down Expand Up @@ -314,12 +312,13 @@ GEM
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
semantic_range (3.0.0)
shellany (0.0.1)
sidekiq (6.5.8)
connection_pool (>= 2.2.5, < 3)
rack (~> 2.0)
redis (>= 4.5.0, < 5)
simpacker (1.3.0)
railties (>= 4.2)
simple-navigation (4.4.0)
activesupport (>= 2.3.2)
simple_calendar (2.4.3)
Expand Down Expand Up @@ -380,11 +379,6 @@ GEM
activemodel (>= 6.0.0)
bindex (>= 0.4.0)
railties (>= 6.0.0)
webpacker (5.4.3)
activesupport (>= 5.2)
rack-proxy (>= 0.6.1)
railties (>= 5.2)
semantic_range (>= 2.3.0)
webrick (1.7.0)
websocket (1.2.10)
websocket-driver (0.7.6)
Expand Down Expand Up @@ -436,6 +430,7 @@ DEPENDENCIES
sdoc (~> 1.0)
selenium-webdriver
sidekiq (< 7)
simpacker
simple-navigation
simple_calendar (~> 2.0)
simple_enum
Expand All @@ -446,7 +441,6 @@ DEPENDENCIES
test-unit-rails
uglifier (>= 1.3)
web-console (~> 4.0)
webpacker (~> 5.x)
xmlrpc

BUNDLED WITH
Expand Down
82 changes: 0 additions & 82 deletions babel.config.js

This file was deleted.

18 changes: 0 additions & 18 deletions bin/webpack

This file was deleted.

18 changes: 0 additions & 18 deletions bin/webpack-dev-server

This file was deleted.

14 changes: 14 additions & 0 deletions config/simpacker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
default: &default
manifest_path: public/packs/manifest.json

development:
<<: *default
cache_manifest: false

test:
<<: *default
cache_manifest: false

production:
<<: *default
cache_manifest: true
5 changes: 0 additions & 5 deletions config/webpack/development.js

This file was deleted.

3 changes: 0 additions & 3 deletions config/webpack/environment.js

This file was deleted.

5 changes: 0 additions & 5 deletions config/webpack/production.js

This file was deleted.

5 changes: 0 additions & 5 deletions config/webpack/test.js

This file was deleted.

Loading

0 comments on commit fb70014

Please sign in to comment.