1.0.0-beta.0 • Published 11 months ago

@rugo-vn/live v1.0.0-beta.0

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Rugo Live

Live bundle for Rugo.

Usage

const live = goLive({
  root: '/your project root',
  src: './source/directory', // related with root, default is ./src
  public: './public/directory', // related with root, default is ./public
  dst: './dist/directory', // directory to put result, default is ./dist
  static: 'statics', // static directory name, default is 'statics' at ./dist/statics
  view: 'views', // view directory name, default is 'views' at ./dist/views
});

await live.build();

/* or */

live.watch();

Project

|- src/
|- public/
|- .gitignore
|- postcss.config.js
|- tailwind.config.js
|- package.json

It will scan /src and /public to build.

License

MIT.