2.0.0 • Published 4 years ago

@start/plugin-lib-webpack v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

🏭 plugin-lib-webpack

Bundle files using Webpack.

Install

$ yarn add --dev @start/plugin-lib-webpack

Usage

Signature

webpack(config: Configuration, statsOptions?: StatsOptions)

config

webpack configuration.

statsOptions

webpack stats options.

Default:

{
  colors: true
}

Example

import sequence from '@start/plugin-sequence'
import env from '@start/plugin-env'
import webpack from '@start/plugin-lib-webpack'

export const task = async () => {
  const { default: webpackConfig } = await import('./webpack.config')

  return sequence(
    env('NODE_ENV', 'production'),
    webpack(webpackConfig)
  )
}
2.0.0

4 years ago

1.0.0

4 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago

0.1.0-3

6 years ago

0.1.0-2

6 years ago

0.1.0-1

6 years ago

0.1.0-0

6 years ago