adamgavlak / middlepack

Middleman and Webpack external pipeline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Middlepack

Middlepack is a combination of Middleman and Webpack, which is used as an external pipeline. It is also set up to use Tailwind as a CSS framework with PostCSS.

Requirements

  • Ruby 2.6.2+
  • Node 10.0.0+

Installation

Clone this repository

$ git clone https://github.com/gavlak/middlepack <project_name>
$ cd <project_name>

You need to remove .git directory and initialize your own:

$ rm -r .git
$ git init

Now we need to install Ruby Gems and NPM packages:

$ bundle install
...

$ yarn install

After the installation of the packages and gems is successful you can start using Middlepack.

Usage

Usage is the same as with regular Middleman. To start a development server you need to run:

bundle exec middleman server

To build a production version of the site you can run:

bundle exec middleman build

About

Middleman and Webpack external pipeline


Languages

Language:Ruby 43.4%Language:HTML 24.6%Language:JavaScript 24.1%Language:CSS 7.9%