jest-file-loader
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -15,3 +15,5 @@ const path = require('path'); | ||
return `${esModule ? 'export default' : 'module.exports ='} ${exportedPath};`; | ||
return { | ||
code: `${esModule ? 'export default' : 'module.exports ='} ${exportedPath};` | ||
}; | ||
} | ||
@@ -24,2 +26,2 @@ } | ||
createTransformer, | ||
}; | ||
}; |
{ | ||
"name": "jest-file-loader", | ||
"description": "A jest transformer similar to webpack's file-loader", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
2380
21