react-build-sitemap
Advanced tools
Comparing version 0.1.20 to 0.1.21
@@ -6,7 +6,2 @@ import babelParser from "@babel/parser"; | ||
//const babelParser = require("@babel/parser"); | ||
//const fs = require("fs"); | ||
//const PropTypes = require("prop-types"); | ||
//const { warn } = require("console"); | ||
const buildSitemap = (fileName, buildPath, url) => { | ||
@@ -201,2 +196,2 @@ // check for file type (typescript/javascript) | ||
module.exports.buildSitemap = require("esm")("buildSitemap"); | ||
export default buildSitemap; |
{ | ||
"name": "react-build-sitemap", | ||
"version": "0.1.20", | ||
"version": "0.1.21", | ||
"description": "simple library that generates a sitemap from your react router", | ||
"main": "./index.js", | ||
"type": "commonjs", | ||
"exports": { | ||
"require": "./index.js", | ||
"default": "./index.mjs" | ||
}, | ||
"type": "module", | ||
"scripts": { | ||
@@ -51,5 +47,4 @@ "test": "echo \"Error: no test specified\" && exit 1", | ||
"babel-preset-react": "^6.24.1", | ||
"esm": "^3.2.25", | ||
"jsx": "^0.9.89" | ||
} | ||
} |
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
9
1
Yes
44182
7
197