JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 37
  • Score
    100M100P100Q69763F

Bedrock webpack module

Package Exports

  • bedrock-webpack

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bedrock-webpack) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

bedrock-webpack

A bedrock module that provides capability to combine and minify web client resources using webpack.

bedrock-webpack autogenerates and runs a webpack configuration that will combine and minimize input resources into a single output resource.

bedrock-webpack is often coupled with bedrock-views and bedrock-angular to provide frontend UIs. It adds webpack specific commands to the bedrock-views optimize command.

Requirements

  • npm v3+

Quick Examples

In your main app, install the module and load it.

npm install --save bedrock-webpack
require('bedrock-webpack');

Now the bedrock-views optimize command will run the webpack optimization.