Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

p-webpack

Richienb20MIT1.0.1TypeScript support: included

Promise support for Webpack.

webpack, promise, options, object, value

readme

Promise Webpack Travis CI Build Status

Promise support for Webpack.

NPM Badge

Install

npm install p-webpack webpack

Usage

const webpack = require("p-webpack");

await webpack({
    entry: "entry.js",
    output: {
        filename: "entry.bundle.js"
    }
})

API

webpack(options?)

options

Type: object

See https://webpack.js.org/configuration/#options