Skip to content

Commit 3f00c69

Browse files
committed
Fix eslint errors.
1 parent 75aea6f commit 3f00c69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/gatsby-compression-plugin/src/gatsby-node.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const CompressionPlugin = require("compression-webpack-plugin");
1+
const CompressionPlugin = require(`compression-webpack-plugin`)
22

33
exports.modifyWebpackConfig = ({ config, stage }, options) => {
44
switch (stage) {
@@ -7,8 +7,8 @@ exports.modifyWebpackConfig = ({ config, stage }, options) => {
77
case `build-css`: {
88
config.plugin(`compression`,
99
CompressionPlugin,
10-
[{asset: '[path].gz[query]', algorithm: 'gzip'}]
11-
);
10+
[{ asset: `[path].gz[query]`, algorithm: `gzip` }]
11+
)
1212
return config
1313
}
1414
default: {

0 commit comments

Comments
 (0)