Webpack block for the Extract-text plugin.


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.
``js
const { createConfig } = require('@webpack-blocks/webpack')
const extractText = require('@webpack-blocks/extract-text')
module.exports = createConfig([
...,
extractText('css/[name].css') // or just extractText()``
])
Check out the
š Main Documentation
Released under the terms of the MIT license.