Skip to content

Commit 9b3cd0a

Browse files
committed
fix(eslint): more prettier fixes
1 parent c671f08 commit 9b3cd0a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/index.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ import webpack from 'webpack';
55
import sources from 'webpack-sources';
66

77
const { ConcatSource, SourceMapSource, OriginalSource } = sources;
8-
const { Template, util: { createHash } } = webpack;
8+
const {
9+
Template,
10+
util: { createHash },
11+
} = webpack;
912

1013
const NS = path.dirname(fs.realpathSync(__filename));
1114

@@ -97,7 +100,12 @@ class CssModule extends webpack.Module {
97100
}
98101

99102
class CssModuleFactory {
100-
create({ dependencies: [dependency] }, callback) {
103+
create(
104+
{
105+
dependencies: [dependency],
106+
},
107+
callback
108+
) {
101109
callback(null, new CssModule(dependency));
102110
}
103111
}

0 commit comments

Comments
 (0)