Upgrade Webpacker to version 2.0 (#3729)
This commit is contained in:
parent
94d0e012de
commit
53e42bf91e
17 changed files with 241 additions and 128 deletions
11
bin/yarn
11
bin/yarn
|
@ -1,11 +0,0 @@
|
|||
#!/usr/bin/env ruby
|
||||
VENDOR_PATH = File.expand_path('..', __dir__)
|
||||
Dir.chdir(VENDOR_PATH) do
|
||||
begin
|
||||
exec "yarnpkg #{ARGV.join(" ")}"
|
||||
rescue Errno::ENOENT
|
||||
$stderr.puts "Yarn executable was not detected in the system."
|
||||
$stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
|
||||
exit 1
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue