Commit 0b420f41 authored by rockyl's avatar rockyl

init

parent 6231c232
......@@ -12,7 +12,10 @@ let _assetsPath;
let _filter;
const scillaCorePrefix = 'node_modules/scilla/src';
const componentBaseClassName = '"scilla/core/Component".Component';
const componentBaseClassNames = [
'"scilla/core/Component".Component',
'"components/base/ScillaComponent".ScillaComponent',
];
const showLog = false;
const showVerboseLog = false;
......@@ -259,7 +262,7 @@ function analyseBases(type, checker) {
const {fullClassName} = getFullyQualifiedNameOfType(type, checker);
bases.push(fullClassName);
if (fullClassName === componentBaseClassName) {
if (componentBaseClassNames.includes(fullClassName)) {
isComponent = true;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment