diff --git a/package.json b/package.json index c77e1aaa..3deb5101 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "homepage": "https://eemeli.org/yaml/", "files": [ "browser/", - "dist/" + "dist/", + "util.js" ], "type": "commonjs", "main": "./dist/index.js", diff --git a/util.js b/util.js new file mode 100644 index 00000000..070103f9 --- /dev/null +++ b/util.js @@ -0,0 +1,2 @@ +// Re-exporter for Node.js < 12.16.0 +module.exports = require('./dist/util.js')