tauri-apps / tauri-apps/tauri-docs
Add guide: Tauri + Rollup
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- MDX
- Stars
- 1.1k
- Forks
- 887
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 48
Description
Setup
- link to rollup setup
- link to tauri setup
- add tauri to rollup project
- consider using
babelwith recommend target config"targets": { "esmodules": true "chrome": "97", "safari": "13" }
Development
- link to React, Vue, Svelte guides
Building
- explain
rollup -c(short) - explain how
tauri buildwill find the assets
SSR
- how? Maybe https://github.com/chrisvfritz/prerender-spa-plugin is an option?
Plugin recommendations
- rollup is the sum of it's plugins
- recommend some good plugins to use when developing native apps
rollup-plugin-visualizer,rollup-plugin-sizesorrollup-plugin-size-snapshotfor tracking app sizerollup-plugin-terser- Minify coderollup-plugin-serve- Development server@rollup/plugin-node-resolveto bundle all node_module dependencies@rollup/plugin-typescriptjust use typescript please@rollup/plugin-replaceto make use ofTAURI_PLATFORM,TAURI_ARCH,TAURI_FAMILY,TAURI_PLATFORM_VERSION,TAURI_PLATFORM_TYPEandTAURI_DEBUGenv variablesrollup-plugin-imagetools(shameless plug) orrollup-plugin-imageminto optimize images
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No documentation file or test is named; start by locating the guide structure and existing Tauri, Rollup, and framework guides. Cover the requested setup, development, building, SSR, and plugin-recommendation sections, with links and examples where specified, and consider the SSR question resolved before calling the guide complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- babel, rollup
- Domain
- desktop, documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100