diff --git a/config/critters-webpack-plugin.js b/config/critters-webpack-plugin.js
index fbfe4f96..50598a64 100644
--- a/config/critters-webpack-plugin.js
+++ b/config/critters-webpack-plugin.js
@@ -24,7 +24,7 @@ const PARSE5_OPTS = {
* @param {Boolean} [options.compress=true] Compress resulting critical CSS
*/
module.exports = class CrittersWebpackPlugin {
- constructor(options) {
+ constructor (options) {
this.options = options || {};
this.urlFilter = this.options.filter;
if (this.urlFilter instanceof RegExp) {
@@ -33,7 +33,7 @@ module.exports = class CrittersWebpackPlugin {
}
/** Invoked by Webpack during plugin initialization */
- apply(compiler) {
+ apply (compiler) {
const outputPath = compiler.options.output.path;
// hook into the compiler to get a Compilation instance...
@@ -47,7 +47,7 @@ module.exports = class CrittersWebpackPlugin {
let externalStylesProcessed = Promise.resolve();
// `external:false` skips processing of external sheets
- if (this.options.external!==false) {
+ if (this.options.external !== false) {
const externalSheets = document.querySelectorAll('link[rel="stylesheet"]');
externalStylesProcessed = Promise.all(externalSheets.map(
link => this.embedLinkedStylesheet(link, compilation, outputPath)
@@ -71,7 +71,7 @@ module.exports = class CrittersWebpackPlugin {
}
/** Inline the target stylesheet referred to by a (assuming it passes `options.filter`) */
- embedLinkedStylesheet(link, compilation, outputPath) {
+ embedLinkedStylesheet (link, compilation, outputPath) {
const href = link.getAttribute('href');
const document = link.ownerDocument;
@@ -105,12 +105,12 @@ module.exports = class CrittersWebpackPlugin {
}
/** Parse the stylesheet within a