convert-figma-svgs-for-react
Advanced tools
Comparing version 1.1.4 to 1.1.5
{ | ||
"name": "convert-figma-svgs-for-react", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "A small script for a very specific use case.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -31,3 +31,3 @@ var fs = require('fs') | ||
const jsPrefix = (CONFIG && CONFIG.modulePrefix) || 'export default ' | ||
const jsContents = `${CONFIG.modulePrefix}'${strippedNewlines}'` | ||
const jsContents = `${jsPrefix}'${strippedNewlines}'` | ||
const jsFilename = replaceExt(filename, '.js') | ||
@@ -34,0 +34,0 @@ fs.writeFileSync(dirname + jsFilename, jsContents) |
25758
14