2.0.7 • Published 2 years ago

@eklingen/vinyl-stream-webpack v2.0.7

Weekly downloads
43
License
MIT
Repository
github
Last release
2 years ago

Small vinyl-stream wrapper -aka Gulp plugin- for webpack

Run webpack within your streams. Compatible with Webpack v5.

Supports multi-compilations. Gets entry points from the Vinyl stream. Does not support webpack's watch or devServer options.

NOTE: No tests have been written yet!

Installation

yarn install. Or npm install. Or just copy the files to your own project.

Usage

const webpackWrapper = require('@eklingen/vinyl-stream-webpack')
stream.pipe(webpackWrapper())

This plugin assumes an existing configuration dotfile where webpack can find it. You can also pass it via the config options.

Options

There are a few options:

config

Use this to pass in a configuration object.

webpackWrapper({
  config: { ... }
})

logStats

Set this option to log verbose stats to the terminal. If falsey, then this plugin will be quiet.

webpackWrapper({
  logStats: true
})

Dependencies

This package requires "webpack", "vinyl" and "memfs".


Copyright (c) 2019 Elco Klingen. MIT License.

2.0.7

2 years ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

3 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago