We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c671f08 commit 9b3cd0aCopy full SHA for 9b3cd0a
src/index.js
@@ -5,7 +5,10 @@ import webpack from 'webpack';
5
import sources from 'webpack-sources';
6
7
const { ConcatSource, SourceMapSource, OriginalSource } = sources;
8
-const { Template, util: { createHash } } = webpack;
+const {
9
+ Template,
10
+ util: { createHash },
11
+} = webpack;
12
13
const NS = path.dirname(fs.realpathSync(__filename));
14
@@ -97,7 +100,12 @@ class CssModule extends webpack.Module {
97
100
}
98
101
99
102
class CssModuleFactory {
- create({ dependencies: [dependency] }, callback) {
103
+ create(
104
+ {
105
+ dependencies: [dependency],
106
+ },
107
+ callback
108
+ ) {
109
callback(null, new CssModule(dependency));
110
111
0 commit comments