hebspack-test v2.2.5
HEBSPACK
Hebspack is a gulp configuration to bundle skin files for web development and distribution.
Installation
Assuming you have Node installed. First you need Navigate through terminal to a folder containing skin or skins and run this command to install hebspack:
npm install hebspack-test
Usage
Run in terminal
npm run hebspack [env] [init]
env
env | Description |
---|---|
default | Run hebspack with default environment settings |
development | Run hebspack with development environment settings |
production | Run hebspack with production environment settings |
init
init | Description |
---|---|
init | Runs initial bundling for the whole project |
By default project is run in watch mode only |
Insert the following line in head tag inside root .tpl file instead of existing asset links. Manifest path is relative to skin directory, for example "dist/desktop/assets.manifest.json"
{asset_loader position="head" manifest="path/to/assets.manifest.json"}
Insert the following line in body tag inside root .tpl file instead of existing asset links. Manifest path is relative to skin directory, for example "dist/desktop/assets.manifest.json"
{asset_loader position="body" manifest="path/to/assets.manifest.json"}
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago