Top Level Namespace

Defined Under Namespace

Modules: ActionText

Constant Summary collapse

APPLICATION_PACK_PATH =
Pathname.new("app/javascript/packs/application.js")
JS_PACKAGE_PATH =
Pathname.new("#{__dir__}/../../package.json")
JS_PACKAGE =
JSON.load(JS_PACKAGE_PATH)
JS_DEPENDENCIES =
JS_PACKAGE["peerDependencies"].dup.merge \
JS_PACKAGE["name"] => "^#{JS_PACKAGE["version"]}"