Skip to content

Commit 3679717

Browse files
committed
Always run build on first install
So builds/application.js is not missing.
1 parent a173f1f commit 3679717

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

lib/install/esbuild/install.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
say %(Add "scripts": { "build": "#{build_script}" } to your package.json), :green
99
else
1010
run %(npm set-script build "#{build_script}")
11+
run %(yarn build)
1112
end

lib/install/rollup/install.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
say %(Add "scripts": { "build": "#{build_script}" } to your package.json), :green
1010
else
1111
run %(npm set-script build "#{build_script}")
12+
run %(yarn build)
1213
end

lib/install/webpack/install.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
say %(Add "scripts": { "build": "#{build_script}" } to your package.json), :green
1010
else
1111
run %(npm set-script build "#{build_script}")
12+
run %(yarn build)
1213
end

0 commit comments

Comments
 (0)