mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
fork refine
This commit is contained in:
9
packages/devtools-internal/src/is-refine-stack.ts
Normal file
9
packages/devtools-internal/src/is-refine-stack.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { REFINE_PACKAGE_FILEPATH_REGEXP } from "./constants";
|
||||
|
||||
export const isRefineStack = (filename?: string) => {
|
||||
if (!filename) return false;
|
||||
|
||||
const match = filename.match(REFINE_PACKAGE_FILEPATH_REGEXP);
|
||||
|
||||
return !!match;
|
||||
};
|
||||
Reference in New Issue
Block a user