Skip to content

Commit 8702182

Browse files
authored
Merge pull request #64 from Eric-Guo/webpack5
webpack5
2 parents ae7376f + 37150ff commit 8702182

File tree

21 files changed

+1514
-4242
lines changed

21 files changed

+1514
-4242
lines changed

.browserslistrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ gem "pg"
1414
# Use Puma as the app server
1515
gem "puma"
1616
# Use development version of Webpacker
17-
gem "webpacker"
17+
gem "webpacker", '~> 6.0.0.rc.6'
1818

1919
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
2020
gem "turbolinks", "~> 5"

Gemfile.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ GEM
6565
ast (2.4.2)
6666
bcrypt (3.1.16)
6767
bindex (0.8.1)
68-
bootsnap (1.9.3)
68+
bootsnap (1.9.4)
6969
msgpack (~> 1.0)
7070
brakeman (5.2.0)
7171
browser (5.3.1)
@@ -82,11 +82,11 @@ GEM
8282
xpath (~> 3.2)
8383
childprocess (4.1.0)
8484
concurrent-ruby (1.1.9)
85-
config (3.1.0)
85+
config (3.1.1)
8686
deep_merge (~> 1.2, >= 1.2.1)
8787
dry-validation (~> 1.0, >= 1.0.0)
8888
crass (1.0.6)
89-
deep_merge (1.2.1)
89+
deep_merge (1.2.2)
9090
devise (4.8.1)
9191
bcrypt (~> 3.0)
9292
orm_adapter (~> 0.1)
@@ -131,7 +131,7 @@ GEM
131131
dry-initializer (~> 3.0)
132132
dry-schema (~> 1.8, >= 1.8.0)
133133
erubi (1.10.0)
134-
ffi (1.15.4)
134+
ffi (1.15.5)
135135
globalid (1.0.0)
136136
activesupport (>= 5.0)
137137
i18n (1.8.11)
@@ -165,14 +165,14 @@ GEM
165165
actionpack (>= 3.2.0, < 7.1)
166166
method_source (1.0.0)
167167
mini_mime (1.1.2)
168-
mini_portile2 (2.6.1)
168+
mini_portile2 (2.7.1)
169169
minitest (5.15.0)
170170
minitest-ci (3.4.0)
171171
minitest (>= 5.0.6)
172172
msgpack (1.4.2)
173173
nio4r (2.5.8)
174-
nokogiri (1.12.5)
175-
mini_portile2 (~> 2.6.1)
174+
nokogiri (1.13.0)
175+
mini_portile2 (~> 2.7.0)
176176
racc (~> 1.4)
177177
orm_adapter (0.5.0)
178178
parallel (1.21.0)
@@ -184,7 +184,7 @@ GEM
184184
nio4r (~> 2.0)
185185
racc (1.6.0)
186186
rack (2.2.3)
187-
rack-proxy (0.7.0)
187+
rack-proxy (0.7.2)
188188
rack
189189
rack-test (1.1.0)
190190
rack (>= 1.0, < 3)
@@ -217,7 +217,7 @@ GEM
217217
method_source
218218
rake (>= 0.13)
219219
thor (~> 1.0)
220-
rainbow (3.0.0)
220+
rainbow (3.1.1)
221221
rake (13.0.6)
222222
rb-fsevent (0.11.0)
223223
rb-inotify (0.10.1)
@@ -241,7 +241,7 @@ GEM
241241
rubocop-performance (1.13.1)
242242
rubocop (>= 1.7.0, < 2.0)
243243
rubocop-ast (>= 0.4.0)
244-
rubocop-rails (2.13.0)
244+
rubocop-rails (2.13.1)
245245
activesupport (>= 4.2.0)
246246
rack (>= 1.1)
247247
rubocop (>= 1.7.0, < 2.0)
@@ -259,7 +259,7 @@ GEM
259259
actionpack (>= 5.2)
260260
activesupport (>= 5.2)
261261
sprockets (>= 3.0.0)
262-
thor (1.1.0)
262+
thor (1.2.1)
263263
turbolinks (5.2.1)
264264
turbolinks-source (~> 5.2)
265265
turbolinks-source (5.2.0)
@@ -277,7 +277,7 @@ GEM
277277
nokogiri (~> 1.6)
278278
rubyzip (>= 1.3.0)
279279
selenium-webdriver (~> 4.0)
280-
webpacker (5.4.3)
280+
webpacker (6.0.0.rc.6)
281281
activesupport (>= 5.2)
282282
rack-proxy (>= 0.6.1)
283283
railties (>= 5.2)
@@ -319,7 +319,7 @@ DEPENDENCIES
319319
tzinfo-data
320320
web-console
321321
webdrivers
322-
webpacker
322+
webpacker (~> 6.0.0.rc.6)
323323

324324
RUBY VERSION
325325
ruby 3.0.3p157
File renamed without changes.
File renamed without changes.
File renamed without changes.

app/javascript/packs/application.js renamed to app/packs/entrypoints/application.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@ window.$ = window.JQuery = JQuery;
1717
import "bootstrap";
1818
import "@mixtint/coreui"
1919

20-
import "stylesheets/application"
21-
2220
require("@rails/ujs").start()
2321
require("turbolinks").start()
2422
//require("@rails/activestorage").start()
2523
require("channels")
2624

2725
import "turbolinks/coreui";
2826
import "controllers";
27+
import "stylesheets/application.scss"
File renamed without changes.

babel.config.js

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

0 commit comments

Comments
 (0)