lib/vite_ruby/cli/install.rb in vite_ruby-1.2.15 vs lib/vite_ruby/cli/install.rb in vite_ruby-1.2.16
- old
+ new
@@ -70,10 +70,10 @@
# Internal: Creates the Vite and vite-plugin-ruby configuration files.
def create_configuration_files
copy_template 'config/vite.config.ts', to: root.join('vite.config.ts')
setup_app_files
- ViteRuby.reload_with('VITE_RUBY_CONFIG_PATH' => config.config_path)
+ ViteRuby.reload_with(config_path: config.config_path)
end
# Internal: Installs vite and vite-plugin-ruby at the project level.
def install_js_dependencies
package_json = root.join('package.json')