8.4.0 • Published 5 years ago

vitalizer v8.4.0

Weekly downloads
189
License
MIT
Repository
github
Last release
5 years ago

Vitalizer Build status npm version

Webpack development and bundling tool for Vital Software.

Features

  • Hot reloading
  • Injected JS/CSS assets
  • Tree-shaking optimization
  • Cache busted production assets
  • Source map support
  • PostCSS (Autoprefixer, SCSS style syntax)
  • CSS Module support
  • cssnano minification
  • rem() function support

Contributing

All changes that are pushed to the master branch are deployed via a Buildkite pipeline. The pipeline runs tests, builds a Docker image, builds the release artifacts for NPM, and the library itself to an NPM registry. Use the Commit Message as documented in our Contributing Guide to trigger a release.

Installing

To install, run the following commands:

yarn add vitalizer -D

Usage

Development

To run Vitalizer in development mode (using webpack-serve), run the following command:

vitalizer start

To build your project files for production, run the following command:

vitalizer build

Configuration

To configure Vitalizer, create a file called .vitalizer in the root of your project:

VARIABLE=name

And set any of the following variables:

VariableDevelopmentProductionUsage
CDN_URL:x::white_check_mark:When set, production assets are output as [CDN_URL][asset] rather than [asset]. Used to support an external CDN for assets.
CI:large_orange_diamond::white_check_mark:When set to true, Vitalizer treats warnings as failures in the build. Most CIs set this flag by default.
DISABLE_HASH.:x::white_check_mark:When set to true, production assets are output as [name].[ext] rather than [name][hash].[ext]. Useful for debugging and test purposes.
HOST:white_check_mark::x:By default, the development web server binds to localhost. You may use this variable to specify a different host.
INDEX_FILES:white_check_mark::white_check_mark:Comma seperated list of HTML files to use. Defaults to static/index.html.
PORT:white_check_mark::x:By default, the development web server will attempt to listen on port 3000 or prompt you to attempt the next available port. You may use this variable to specify a different port.
RESOLVE_MODULES:white_check_mark::white_check_mark:Comma seperated list of module roots to use other than node_modules. i.e. app, static

Expanding Environment Variables In .env

Expand variables already on your machine for use in your .env file (using dotenv-expand).

For example, to use the DOMAIN variable:

DOMAIN=www.example.com
FOO=$DOMAIN/foo
BAR=$DOMAIN/bar
8.4.0

5 years ago

8.3.0

5 years ago

8.2.0

5 years ago

8.2.0-alpha.11

5 years ago

8.2.0-alpha.10

5 years ago

8.2.0-alpha.9

5 years ago

8.2.0-alpha.8

5 years ago

8.2.0-alpha.7

5 years ago

8.2.0-alpha.6

5 years ago

8.2.0-alpha.5

5 years ago

8.2.0-alpha.4

5 years ago

8.2.0-alpha.3

5 years ago

8.2.0-alpha.2

5 years ago

8.2.0-alpha2

5 years ago

8.2.0-alpha1

5 years ago

8.1.0

5 years ago

8.0.0

5 years ago

7.5.0

5 years ago

7.4.2

5 years ago

7.4.1

5 years ago

7.4.0

5 years ago

7.3.0

5 years ago

7.2.0

5 years ago

7.1.0

5 years ago

7.0.0

5 years ago

6.10.1

5 years ago

6.10.0

5 years ago

6.9.0

5 years ago

6.8.0

5 years ago

6.7.0

5 years ago

6.6.0

5 years ago

6.5.0

5 years ago

6.4.0

6 years ago

6.4.0-alpha.2

6 years ago

6.4.0-alpha.1

6 years ago

6.3.0

6 years ago

6.3.0-alpha.5

6 years ago

6.3.0-alpha.4

6 years ago

6.3.0-alpha.3

6 years ago

6.3.0-alpha.2

6 years ago

6.3.0-alpha.1

6 years ago

6.2.0

6 years ago

6.1.1

6 years ago

6.1.0

6 years ago

6.0.0

6 years ago

5.4.1

6 years ago

5.3.0-alpha.2

6 years ago

5.3.0-alpha.1

6 years ago

5.4.0

6 years ago

5.3.0

6 years ago

5.2.1

6 years ago

5.2.0

6 years ago

5.1.2

6 years ago

5.1.1

6 years ago

5.1.0

6 years ago

5.1.0-alpha.1

6 years ago

5.0.7

6 years ago

5.0.7-alpha.1

6 years ago

5.0.6

6 years ago

5.0.5

6 years ago

5.0.4

6 years ago

5.0.3

6 years ago

5.0.2

6 years ago

5.0.1

6 years ago

5.0.1-alpha.2

6 years ago

5.0.1-alpha.1

6 years ago

5.0.0

6 years ago

4.3.2

6 years ago

4.3.1

6 years ago

5.0.0-alpha.4

6 years ago

5.0.0-alpha.3

6 years ago

5.0.0-alpha.2

6 years ago

5.0.0-alpha.1

6 years ago

4.3.0

6 years ago

4.3.0-alpha.1

6 years ago

4.2.0

6 years ago

4.2.0-alpha.18

6 years ago

4.2.0-alpha.17

6 years ago

4.2.0-alpha.16

6 years ago

4.2.0-alpha.15

6 years ago

4.2.0-alpha.14

6 years ago

4.2.0-alpha.13

6 years ago

4.2.0-alpha.12

6 years ago

4.2.0-alpha.11

6 years ago

4.2.0-alpha.10

6 years ago

4.2.0-alpha.9

6 years ago

4.2.0-alpha.8

6 years ago

4.2.0-alpha.7

6 years ago

4.2.0-alpha.6

6 years ago

4.2.0-alpha.5

6 years ago

4.2.0-alpha.4

6 years ago

4.2.0-alpha.3

6 years ago

4.2.0-alpha.2

6 years ago

4.2.0-alpha.1

6 years ago

4.1.3-alpha.2

7 years ago

4.1.3-alpha.1

7 years ago

4.1.3-alpha.0

7 years ago

4.1.2

7 years ago

4.1.1

7 years ago

4.1.0

7 years ago

4.0.3

7 years ago

4.0.2

7 years ago

4.0.1

7 years ago

4.0.0

7 years ago

3.7.1

7 years ago

3.7.0

7 years ago

4.0.0-beta.6

7 years ago

4.0.0-beta.5

7 years ago

4.0.0-beta.4

7 years ago

4.0.0-beta.3

7 years ago

4.0.0-beta.2

7 years ago

4.0.0-beta.1

7 years ago

3.6.1

7 years ago

3.6.0

7 years ago

3.5.0

7 years ago

3.4.3

7 years ago

3.4.2

7 years ago

3.4.1

7 years ago

3.4.0

7 years ago

3.4.0-alpha.1

7 years ago

3.3.4

7 years ago

3.3.3

7 years ago

3.3.2

7 years ago

3.3.1

7 years ago

3.3.0

7 years ago

3.3.0-alpha.9

7 years ago

3.3.0-alpha.8

7 years ago

3.3.0-alpha.7

7 years ago

3.2.17

7 years ago

3.2.16

7 years ago

3.3.0-alpha.6

7 years ago

3.3.0-alpha.5

7 years ago

3.3.0-alpha.4

7 years ago

3.3.0-alpha.3

7 years ago

3.3.0-alpha.2

7 years ago

3.3.0-alpha.1

7 years ago

3.2.15

7 years ago

3.2.14

7 years ago

3.2.13

7 years ago

3.2.12

7 years ago

3.2.11

7 years ago

3.2.10

7 years ago

3.2.9

7 years ago

3.2.8

7 years ago

3.2.7-0

7 years ago

3.0.4-0

7 years ago

3.0.4-alpha

7 years ago

3.2.6

7 years ago

3.2.5

7 years ago

3.2.4

7 years ago

3.2.3

7 years ago

3.2.2

7 years ago

3.2.1

7 years ago

3.2.0

7 years ago

3.1.0

7 years ago

3.0.5

7 years ago

3.0.4

7 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

3.0.1-0

7 years ago

3.0.0-0

7 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.4.0

7 years ago

1.3.4

7 years ago

1.3.3

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago