Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

nckcol/prism-lightweight-bundler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lightweight bundler (beta)

Oriented for better DX while creating landing pages or other small projects

TODO

  • Config ESLint and Prettier
  • User friendly output for build
  • Pass html files through HtmlWebpackPlugin
  • Fix live-reload issue

Getting Started

First of all you need Node.js version 8.9 or higher. You can find installation instructions for the last version here.

Let's go:

  1. Init your progect with npm init -y command.

  2. Install bundler:

    npm install @prismdev/lightweight-bundler
  3. Create initial file structure:

    $(npm bin)/lightweight-bundler init

    For Windows:

    .\node_modules\.bin\lightweight-bundler.cmd init
  4. Start to create awesome things!

    npm start

File Structure

.
├── README.md
├── node_modules
├── package.json
├── .gitignore
└── src
    ├── index.css
    ├── index.js
    ├── assets // Resources the interface depends on
    │   ├── images
    │   ├── fonts
    │   └── icons
    ├── components
    │   └── [component-name]
    │       ├── [component-name].css
    │       └── [component-name].js
    │
    │   // Here you can place your components with their own
    │   // styles and scripts
    │
    └── static
        ├── favicon.ico
        ├── manifest.json
        ├── index.html
        └── content

            // Directory contains different content resources.
            // Such as product images, profile photos, galleries
            // etc.

More information will be added here lately.

🚲 for Prism dev team 🕴🏼

About

Lightweight bundler for landing pages. Handles your PostCSS and ES2015 through Webpack

Resources

License

Stars

Watchers

Forks

Packages

No packages published