sveasy

Sveasy

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

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

šŸ  Homepage

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 } }) }, }

Top categories

Loading Svelte Themes