Skip to content

nick-pape/gulp-core-build-webpack

 
 

Repository files navigation

Description

gulp-core-build-webpack is a plugin for gulp-core-build which introduces the ability to bundle various source files into a set of bundles, using webpack.

Tasks

WebpackTask

Description

This task invokes webpack using a consumer-specified webpack.config.js on a package.

Command Line Options

If the --initwebpack flag is passed to the command line, this task will initialize a webpack.config.js which bundles lib/index.js into `dist/{packagename}.js as a UMD module.

Config

interface IWebpackConfig {
  configPath: string;
}
  • configPath used to specify the local package relative path to a webpack.config.js

Usage:

build.webpack.setConfig({
  configPath: "./webpack.config.js"
})

About

A task for using webpack with gulp-core-build

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 71.5%
  • JavaScript 28.5%