Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

webpack CLI Dev Container Feature

Install webpack & webpack-cli globally

Webpack is used to compile JavaScript modules. Once installed, you can interact with webpack either from its CLI or API. If you're still new to webpack, please read through the core concepts and this comparison to learn why you might use it over the other tools that are out in the community.

— Getting Started | webpack

Usage

Codespaces Devcontainers

// devcontainer.json
"features": {
  "ghcr.io/devcontainers-community/features/webpack-cli:1": {}
}

Options

You can pin a specific version of the npm package like this:

// devcontainer.json
"features": {
  "ghcr.io/devcontainers-community/features/webpack-cli:1": {
    "version": "1.2.3"
  }
}