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 19cdbcb commit 6b7fc17Copy full SHA for 6b7fc17
lib/avocado.rb
@@ -1,19 +1,19 @@
1
-require "avocado/engine"
2
-require "zeitwerk"
+require 'avocado/engine'
+require 'zeitwerk'
3
require_relative 'avocado/configuration'
4
5
loader = Zeitwerk::Loader.for_gem
6
loader.push_dir(Pathname.new(File.join(__dir__, 'avocado')))
7
loader.setup
8
9
module Avocado
10
- ROOT_PATH = Pathname.new(File.join(__dir__, ".."))
+ ROOT_PATH = Pathname.new(File.join(__dir__, '..'))
11
12
class << self
13
def webpacker
14
@webpacker ||= ::Webpacker::Instance.new(
15
root_path: ROOT_PATH,
16
- config_path: ROOT_PATH.join("config/webpacker.yml")
+ config_path: ROOT_PATH.join('config/webpacker.yml')
17
)
18
end
19
0 commit comments