@jss-rule-engine/nextjs
Version:
13 lines (12 loc) • 487 B
JavaScript
import { normalizePersonalizedRewrite } from '@jss-rule-engine/edge';
var ScPersonalizePlugin = /** @class */ (function () {
function ScPersonalizePlugin() {
}
ScPersonalizePlugin.prototype.exec = function (path) {
// Remove personalize rewrite segment from the path
return normalizePersonalizedRewrite(path);
};
return ScPersonalizePlugin;
}());
export { ScPersonalizePlugin };
export var scpersonalizePlugin = new ScPersonalizePlugin();