mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
10 lines
241 B
TypeScript
10 lines
241 B
TypeScript
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;
|
|
};
|