1.0.0 • Published 4 years ago
@start/plugin-lib-webpack-serve v1.0.0
🏭 plugin-lib-webpack-serve
Run Webpack development server.
⚠️ Deprecated in favor of plugin-webpack-dev-server
Install
$ yarn add --dev @start/plugin-lib-webpack-serve
Usage
Signature
webpackServe(options: {}, argv?: {}, )
options
argv
Example
import sequence from '@start/plugin-sequence'
import env from '@start/plugin-env'
import webpackServe from '@start/plugin-lib-webpack-serve'
export const task = async () => {
const { default: webpackConfig } = await import('./webpack.config')
return sequence(
env({ NODE_ENV: 'development' }),
webpackServe({ config: webpackConfig })
)
}