diff --git a/dist/index.js b/dist/index.js index ad07a4e..2eeca24 100644 --- a/dist/index.js +++ b/dist/index.js @@ -99,6 +99,18 @@ Object.defineProperty(exports, "verifyTrailingSlash", { return _verifyTrailingSlash.default; } }); +Object.defineProperty(exports, "isWordPressPreview", { + enumerable: true, + get: function get() { + return _isWordPressPreview.default; + } +}); +Object.defineProperty(exports, "generateMetaInfo", { + enumerable: true, + get: function get() { + return _generateMetaInfo.default; + } +}); var _cleanString = _interopRequireDefault(require("./misc/cleanString")); @@ -132,4 +144,8 @@ var _verifyLeadingSlash = _interopRequireDefault(require("./url/verifyLeadingSla var _verifyTrailingSlash = _interopRequireDefault(require("./url/verifyTrailingSlash")); +var _isWordPressPreview = _interopRequireDefault(require("./wp/misc/isWordPressPreview")); + +var _generateMetaInfo = _interopRequireDefault(require("./wp/meta/generateMetaInfo")); + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } \ No newline at end of file diff --git a/src/index.js b/src/index.js index 251164d..5f8dfb2 100644 --- a/src/index.js +++ b/src/index.js @@ -22,6 +22,11 @@ import removeTrailingSlash from './url/removeTrailingSlash' import verifyLeadingSlash from './url/verifyLeadingSlash' import verifyTrailingSlash from './url/verifyTrailingSlash' +// WP helpers +import isWordPressPreview from './wp/misc/isWordPressPreview' +import generateMetaInfo from './wp/meta/generateMetaInfo' + + export { // Misc utilities cleanString, @@ -42,5 +47,7 @@ export { removeLeadingSlash, removeTrailingSlash, verifyLeadingSlash, - verifyTrailingSlash + verifyTrailingSlash, + isWordPressPreview, + generateMetaInfo }