Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

RubyJS Vite 2.0.0 release notes

Filip Vrba edited this page Jun 22, 2023 · 1 revision

There is a newer version of RubyJS-Vite that has changed everything. The source scripts have been redesigned to a different architecture that is more pragmatic. Which can be used when creating your own plugins. RubyJS-Vite since version 2.0.0 has its own ecosystem, using plugins. These plugins can be easily embedded in the CLI argument and more easily accessed. So, if there is a need to change the operation of a RubyJS-Vite application, using a plugin can achieve that. The basic scripts are documented and can even be found in the online documentation. The overall documentation of RubyJS-Vite gives more information about the tool, so you can read everything in full detail.

Info

RubyJS-Vite since version 2.0.0 sticks to the basic features. So it is different from version 1.0.0.

Removed

  • -g PATH, --generate PATH
  • -ot TYPE, --output-type TYPE
  • -es LEVEL, --eslevel LEVEL
  • --pid PROCESS
  • --create PROJECT

Added

  • scaffold (this is a plugin that extends the functionality of CLI arguments.)
  • The scripting RB file is followed by 2 extensions (example extension '.js.rb').
  • The transpiler can be configured using the 'ruby2js.rb' configuration file in the project root.

Changed

  • -c, --compile to -t, --translate

Document

Clone this wiki locally