@webpack-blocks/extract-text2

0.4.0 • Public • Published

Webpack blocks - Extract text plugin for Webpack 2

JavaScript Style Guide NPM Version

This is the block providing configuration for the extract-text-webpack-plugin. Use it to extract CSS styles out of the bundle and into a separate CSS file.

Usage

const { createConfig } = require('@webpack-blocks/webpack')
const extractText = require('@webpack-blocks/extract-text')

module.exports = createConfig([
  ...,
  extractText('css/[name].css')   // or just `extractText()`
])

Webpack blocks

Check out the

👉 Main Documentation

Released under the terms of the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i @webpack-blocks/extract-text2

Weekly Downloads

7

Version

0.4.0

License

MIT

Last publish

Collaborators

  • webpack-blocks-andy
  • andywer