beastcss-webpack-plugin
v2.1.3
Published
Webpack plugin to inline critical CSS and async load the rest.
Downloads
6
Maintainers
Readme
Beastcss Webpack Plugin
Inline critical CSS and async load the rest.
Installation
npm i -D beastcss-webpack-plugin
or
yarn add -D beastcss-webpack-plugin
or
pnpm add -D beastcss-webpack-plugin
Usage
// webpack.config.js
const BeastcssWebpackPlugin = require('beastcss-webpack-plugin');
module.exports = {
plugins: [
new BeastcssWebpackPlugin({
// optional configuration (see below)
}),
],
};
Options
The Webpack plugin supports the same options as the standalone beastcss package.