UNPKG

@jss-rule-engine/nextjs

Version:

14 lines (13 loc) 525 B
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 console.log('ScPersonalizePlugin', path); return normalizePersonalizedRewrite(path); }; return ScPersonalizePlugin; }()); export { ScPersonalizePlugin }; export var scpersonalizePlugin = new ScPersonalizePlugin();