Given:
import { SuperD } from './SuperD.js';
class C extends SuperD {
ccc = 'c';
}
customElements.define('c-c', C);
where SuperD.js looks like:
import { SuperB } from './SuperB.js'; // same as SuperD, just different name
export class SuperD extends SuperB {
superd = 'd';
}
In the custom-elements.json output, I only get the definition:
{
"path": "./dev/src/custom-element/c-c.js",
"exports": [
{
"kind": "definition",
"name": "c-c",
"declaration": {
"name": "C",
"module": "./dev/src/custom-element/c-c.js"
}
}
]
}
I would also expect the C class to be present in my custom-elements.json
Given:
where
SuperD.jslooks like:In the custom-elements.json output, I only get the definition:
{ "path": "./dev/src/custom-element/c-c.js", "exports": [ { "kind": "definition", "name": "c-c", "declaration": { "name": "C", "module": "./dev/src/custom-element/c-c.js" } } ] }I would also expect the
Cclass to be present in my custom-elements.json