fascio
v3.0.0
Published
A simple asset bundler for frontend assets
Downloads
25
Readme
Fascio
A simple asset bundler for your frontend assets, built on esbuild. Supports PostCSS, SASS, React, Vue, Svelte and copying files.
Example Build Script
import Fascio from '../Fascio.js';
Fascio.js('./src/js/script.js', { dest: './dist', minify: true });
Fascio.react('./src/js/react.js', { dest: './dist', minify: true });
Fascio.svelte('./src/js/svelte.js', { dest: './dist', minify: true });
Fascio.vue('./src/js/vue.js', { dest: './dist', minify: true });
Fascio.scss('./src/css/postcss.css', { dest: './dist', minify: true, glob: true });
Fascio.postcss('./src/css/postcss.css', { dest: './dist', minify: true });
Fascio.copy('./src/assets');
And run it node build.js
.