WebpackWrap - JS/TS Webpack Build Wrapper
Description
The main purpose of this package is to provide a convenient interface for webpack builds acrosss projects.
Requirements
- NodeJs >= 16.20
- NPM >= 8
Installation
It is reccomended to install install webpack-wrap globally. To install globally, run the following command:
npm install -g @spmhome/webpack-wrap
To install for a single project, run the following command from the directory containing the projects package.json file:
npm install --save-dev @spmhome/webpack-wrap
Screenshots
| Example Compilation Results | Example Compilation Results |
|---|---|
![]() | ![]() |
| Example Compilation Results | Example Compilation Results |
|---|---|
![]() | ![]() |
Configuration File
The filename .wpwrc.* is recognized as the configuration file. The cosmicconfig package is used to manage the configuration. therefore the config file can be written in any format supported by the cosmicconfig package. The supported and recommended format is JSON, i.e. .wpwrc.json.
TODO
Visual Studio Code Extension
Coming soon!
TODO

