beastcss-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

2.1.3 • Public • Published

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.

/beastcss-webpack-plugin/

    Package Sidebar

    Install

    npm i beastcss-webpack-plugin

    Weekly Downloads

    1

    Version

    2.1.3

    License

    MIT

    Unpacked Size

    44.8 kB

    Total Files

    8

    Last publish

    Collaborators

    • freddy38510