const { prevalReplace } = require("../utils/prevalReplace");

module.exports = function prevalLoader(source, sourceMap) {
  const replaced = prevalReplace(source);

  this.callback(null, replaced ?? source, sourceMap);
};
