Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin migration to farm guide #1985

Open
shulandmimi opened this issue Dec 6, 2024 · 0 comments
Open

Plugin migration to farm guide #1985

shulandmimi opened this issue Dec 6, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed

Comments

@shulandmimi
Copy link
Member

shulandmimi commented Dec 6, 2024

Here is the migration guide for the farm plugin corresponding to a certain scenario or other packers' plugins.

If you would like to support some plugin but don't have time to do so, please leave a comment describing the functionality you would like or suggesting an equivalent plugin and we will try to complete it.

scene or plugin type support support plugin description
react Rust @farmfe/plugin-react Rust plugin, very fast
vue vite/JS @vitejs/plugin-vue Support vite vue plugin
sass JS @farmfe/js-plugin-sass
less JS @farmfe/js-plugin-less
postcss JS @farmfe/js-plugin-postcss
tailwindcss JS postcss + tailwindcss Currently you can only use tailwindcss in farm based on postcss
electron JS @farmfe/js-plugin-electron
solid JS @farmfe/js-plugin-solid
svg JS @farmfe/js-plugin-svgr
auto-import Rust @farmfe/plugin-auto-import Auto import APIs on-demand for Farm
dsv Rust @farmfe/plugin-dsv Converts .csv and .tsv files into JavaScript modules
image Rust @farmfe/plugin-image Imports JPG, PNG, GIF, SVG, and WebP files
yaml Rust @farmfe/plugin-yaml Convert YAML files to ES6 modules
mdx Rust @farmfe/plugin-mdx Convert md(x) files to React component
react-components Rust @farmfe/plugin-react-components On-demand components auto importing for React
svgr Rust @farmfe/plugin-svgr React svg component generator
strip Rust @farmfe/plugin-strip Remove debugger statements and functions like assert.equal from your code.
url Rust @farmfe/plugin-url Imports files as data-URIs or ES Modules.
virtual Rust @farmfe/plugin-virtual Load virtual modules from memory
icons Rust @farmfe/plugin-icons Load Access thousands of icons as components on-demand universally. (Inspired by unplugin-icons)
wasm Rust @farmfe/plugin-wasm Add WebAssembly ESM integration support generated modules.
worker Rust @farmfe/plugin-worker A web worker script can be imported using new Worker() and new SharedWorker().(Inspired by vite)
copy JS @farmfe/js-plugin-copy Copy files and folders Inspired by rollup-plugin-copy
@shulandmimi shulandmimi pinned this issue Dec 6, 2024
@shulandmimi shulandmimi added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed labels Dec 6, 2024
@shulandmimi shulandmimi changed the title plugin migration guide Plugin migration guide Dec 6, 2024
@shulandmimi shulandmimi changed the title Plugin migration guide Plugin migration to farm guide Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant