Skip to content
This repository was archived by the owner on Jun 16, 2024. It is now read-only.

Commit b53496b

Browse files
committed
simpacker
1 parent c4f7c29 commit b53496b

File tree

7 files changed

+2585
-0
lines changed

7 files changed

+2585
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@
2424

2525
# Ignore master key for decrypting credentials and more.
2626
/config/master.key
27+
28+
/public/packs
29+
node_modules/

Gemfile

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ gem 'pg', '~> 1.1'
66
gem 'puma', '~> 5.0'
77
gem 'sass-rails', '>= 6'
88

9+
gem 'simpacker'
10+
911
group :development, :test do
1012
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
1113
end

Gemfile.lock

+3
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ GEM
134134
sprockets (> 3.0)
135135
sprockets-rails
136136
tilt
137+
simpacker (1.2.0)
138+
railties (>= 4.2)
137139
sprockets (4.0.2)
138140
concurrent-ruby (~> 1.0)
139141
rack (> 1, < 3)
@@ -160,6 +162,7 @@ DEPENDENCIES
160162
puma (~> 5.0)
161163
rails (~> 6.1.4)
162164
sass-rails (>= 6)
165+
simpacker
163166

164167
BUNDLED WITH
165168
2.2.15

config/simpacker.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
default: &default
2+
manifest_path: public/packs/manifest.json
3+
4+
development:
5+
<<: *default
6+
cache_manifest: false
7+
8+
test:
9+
<<: *default
10+
cache_manifest: false
11+
12+
production:
13+
<<: *default
14+
cache_manifest: true

0 commit comments

Comments
 (0)