Skip to content

Commit df06ac7

Browse files
committed
perf: load plugin lazily
1 parent ade2b69 commit df06ac7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
'use strict';
22

3-
const ClarkPlugin = require('./lib/clark-plugin');
4-
53
module.exports = {
64
name: require('./package').name,
75

@@ -13,6 +11,7 @@ module.exports = {
1311
},
1412

1513
createCssModulesPlugin(parent) {
14+
const ClarkPlugin = require('./lib/clark-plugin');
1615
return new ClarkPlugin(parent);
1716
},
1817
};

0 commit comments

Comments
 (0)