sveasy

0.11.5Β β€’Β PublicΒ β€’Β Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i sveasy

Weekly Downloads

1

Version

0.11.5

License

ISC

Unpacked Size

3.79 MB

Total Files

7

Last publish

Collaborators

  • alexanderniebuhr