You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
326 B
16 lines
326 B
3 years ago
|
export default function (
|
||
|
moduleName: string,
|
||
|
dirname: string,
|
||
|
absoluteRuntime: string | boolean,
|
||
|
) {
|
||
|
if (absoluteRuntime === false) return moduleName;
|
||
|
|
||
|
resolveFSPath();
|
||
|
}
|
||
|
|
||
|
export function resolveFSPath() {
|
||
|
throw new Error(
|
||
|
"The 'absoluteRuntime' option is not supported when using @babel/standalone.",
|
||
|
);
|
||
|
}
|