Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Program: function (path) {
var transformOptions = {
parse: parse
};
var code = path.hub.file.code;
if (typeof code === "string") {
transformOptions.moduleAlias =
compiler.makeUniqueId("module", code);
}
compiler.transform(
path.node,
Object.assign(transformOptions, this.opts)
);
}
}