@darrenmothersele/builder

0.1.1 • Public • Published

Builder

Simple JavaScript builder.

Expects to find an index.html file in your src/ folder and will bundle any JS and CSS files it finds automatically. Uses Rollup, TailwindCSS, and PostCSS under the hood.

Installation

Install as a dev dependency in your project:

npm install --save-dev @darrenmothersele/builder

Usage

builder src/main.js

Or, for development mode:

builder --dev src/main.js

Development mode will watch source files and rebuild on changes. It will serve the site locally using Browser Sync. Development mode also disables some build-time optimisations such as minification and PurgeCSS.

/@darrenmothersele/builder/

    Package Sidebar

    Install

    npm i @darrenmothersele/builder

    Weekly Downloads

    0

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    4.79 kB

    Total Files

    3

    Last publish

    Collaborators

    • darrenmothersele