gatsby-plugin-typography
Advanced tools
Comparing version 1.7.3 to 1.7.4
"use strict"; | ||
var fs = require("fs"); | ||
var path = require("path" | ||
var path = require("path"); | ||
var os = require("os" | ||
@@ -17,2 +18,5 @@ // Write out a typography module to .cache. | ||
module = "module.exports = require(\"" + path.join(program.directory, pluginOptions.pathToConfigModule) + "\")"; | ||
if (os.platform() == "win32") { | ||
module = module.split("\\").join("\\\\"); | ||
} | ||
} else { | ||
@@ -19,0 +23,0 @@ module = "const Typography = require(\"typography\")\nconst typography = new Typography()\nmodule.exports = typography"; |
{ | ||
"name": "gatsby-plugin-typography", | ||
"version": "1.7.3", | ||
"version": "1.7.4", | ||
"description": "Gatsby plugin to setup server rendering of Typography.js' CSS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3186
41