Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chrismademe/fascio

Couldn't think of a better name. A basic bundler for your frontend assets.
https://github.com/chrismademe/fascio

Last synced: 2 days ago
JSON representation

Couldn't think of a better name. A basic bundler for your frontend assets.

Awesome Lists containing this project

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

```js
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`.