We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 122f356 commit 37fa0e6Copy full SHA for 37fa0e6
lib/tasks/jsbundling/build.rake
@@ -1,7 +1,9 @@
1
namespace :javascript do
2
desc "Build your JavaScript bundle"
3
task :build do
4
- system "yarn install && yarn build"
+ unless system "yarn install && yarn build"
5
+ raise "jsbundling-rails: Command build failed, ensure yarn is installed and `yarn build` runs without errors"
6
+ end
7
end
8
9
0 commit comments