Displaying 1 to 3 from 3 results

isomorphic-style-loader - CSS style loader for Webpack that is optimized for isomorphic (universal) web apps

  •    Javascript

CSS style loader for Webpack that works similarly to style-loader, but is optimized for critical path CSS rendering and also works great in the context of isomorphic apps. It provides two helper methods on to the styles object - ._insertCss() (injects CSS into the DOM) and ._getCss() (returns a CSS string).Note: Configuration is the same for both client-side and server-side bundles. For more information visit https://webpack.js.org/configuration/module/.

grunt-penthouse - A grunt plugin that uses Penthouse to extract critical path css

  •    Javascript

In your project's Gruntfile, add a section named penthouse to the data object passed into grunt.initConfig(). See the setup in the Gruntfile for this plugin for an example setup of how one can use this plugin with the connect plugin to automatically extract critical css as a step in an automatic build process.