Inline critical CSS and async load the rest.
npm i -D beastcss-webpack-pluginor
yarn add -D beastcss-webpack-pluginor
pnpm add -D beastcss-webpack-plugin// webpack.config.js
const BeastcssWebpackPlugin = require('beastcss-webpack-plugin');
module.exports = {
plugins: [
new BeastcssWebpackPlugin({
// optional configuration (see below)
}),
],
};The Webpack plugin supports the same options as the standalone beastcss package.