p-webpack

Promise support for Webpack.

MIT 2 个版本
安装
npm install p-webpack
yarn add p-webpack
pnpm add p-webpack
bun add p-webpack
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

版本列表
1.0.1 2020-01-21
1.0.0 2020-01-21