Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
vitalizer
Advanced tools
Readme
Webpack development and bundling tool for Vital Software.
To install, run the following commands:
yarn add vitalizer -D
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
To configure Vitalizer, create a file called .vitalizer
in the root of your project:
VARIABLE=name
And set any of the following variables:
Variable | Development | Production | Usage |
---|---|---|---|
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 |
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
FAQs
Vital Software front-end asset builder
The npm package vitalizer receives a total of 178 weekly downloads. As such, vitalizer popularity was classified as not popular.
We found that vitalizer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.