UNPKG

alpinejs-flux

Version:

Simplifies the process of applying CSS classes with x-transition as a template and makes them reusable within single attribute.

20 lines (17 loc) 367 B
buildPlugin({ entryPoints: ['builds/cdn.js'], outfile: 'dist/flux.min.js', }) buildPlugin({ entryPoints: ['builds/module.js'], outfile: 'dist/flux.esm.js', platform: 'neutral', mainFields: ['main', 'module'], }) function buildPlugin(buildOptions) { return require('esbuild').buildSync({ ...buildOptions, minify: true, bundle: true, }) }