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 30855d4 commit 1f86682Copy full SHA for 1f86682
index.js
@@ -0,0 +1,13 @@
1
+var DtsCreator = require('typed-css-modules');
2
+
3
+var creator = new DtsCreator();
4
5
+module.exports = function(input, map) {
6
+ this.cacheable && this.cacheable();
7
+ var callback = this.async();
8
+ creator.create(this.resourcePath).then(content => {
9
+ content.writeFile().then(_ => {
10
+ callback(null, input, map);
11
+ });
12
13
+};
0 commit comments