Skip to content

If you try this out, you are very brave :)

License

Notifications You must be signed in to change notification settings

svelteuse/sveasy

Repository files navigation

Welcome to sveasy 👋

Version Documentation Maintenance License: ISC Twitter: realalexniebuhr

Opiniated "bundler" for svelte projects using nativ esbuild, without any comfortable features like others have

Prerequisites

  • node >14.x

Install

npm i -D sveasy

Usage

sveasy <cmd> [options]

Author

👤 Alexander Niebuhr

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2021 Alexander Niebuhr.
This project is ISC licensed.


This README was generated with ❤️ by readme-md-generator

let examplePlugin = { name: 'example', setup(build) { console.log(build.esbuild.version) console.log(build.esbuild.transformSync('1+2')) }, }

let examplePlugin = { name: 'example', setup(build) { build.onResolve({ filter: /^example$/ }, async () => { const result = await build.resolve('./foo', { resolveDir: '/bar' }) if (result.errors.length > 0) return result return { ...result, external: true } }) }, }

Releases

No releases published

Sponsor this project

 

Packages

No packages published