A wercker step for building js with webpack
Requirements: node.js, npm, webpack, cross-env
In your wercker.yml file under the build section:
build:
steps:
- mitelone/webpack:
config-file: mywebpack.config.js- type: string
- optional: true
- description: Specify the
NODE_ENVvariable. - example:
productionordevelopment
- 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
- type: boolean
- optional: true (default: false)
- description: Run webpack in verbose mode
- type: boolean
- optional: true (default: false)
- description: colored messages
- type: boolean
- optional: true (default: false)
- description: