taskr-esbuild

1.0.6 • Public • Published

taskr-esbuild npm

Esbuild plugin for Taskr.

Explanation

  • 🐣 The smallest toolchain for web development: Only 7 MB (node_modules folder).
  • 👏 Library Support: Vue 3, React and Preact (.vue file not supported).
  • 🎨 Import Styles: supports basic (css/less/sass/stylus) imports inside of JavaScript files.
  • 🖼️ Import Images & JSON: supports basic (jpg/png/gif/webp/svg/bmp) imports inside of JavaScript files.

Install

$ npm install --save-dev taskr-esbuild

Usage

Check out the documentation to see the available options.

exports.esbuild = function * (task) {
  yield task.source('src/**/*.js').esbuild().target('dist/js')
}

Examples

Word Counter "stupid" with React

Counter with Vue 3

Support

Any issues or questions can be sent to the Taskr monorepo.

Please be sure to specify that you are using taskr-esbuild.

Package Sidebar

Install

npm i taskr-esbuild

Weekly Downloads

4

Version

1.0.6

License

MIT

Unpacked Size

17.6 kB

Total Files

8

Last publish

Collaborators

  • ivanheral