Skip to content

mitel/step-webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

step-webpack

A wercker step for building js with webpack

Requirements: node.js, npm, webpack, cross-env

Example Usage

In your wercker.yml file under the build section:

build:
  steps:
    - mitelone/webpack:
    	config-file: mywebpack.config.js

Properties

node-env

  • type: string
  • optional: true
  • description: Specify the NODE_ENV variable.
  • example: production or development

config-file

  • type: string
  • optional: true
  • description: Specify an alternate webpack file. By default, webpack looks in the source directory for a file named webpack.config.js.
  • example: config-file: webpack.config-client.js

verbose

  • type: boolean
  • optional: true (default: false)
  • description: Run webpack in verbose mode

colors

  • type: boolean
  • optional: true (default: false)
  • description: colored messages

display-error-details

  • type: boolean
  • optional: true (default: false)
  • description:

About

A wercker step for building js with webpack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages