cem-plugin-wrec 0.0.3 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
//TODO: Does this support JSDoc comment attributes like @attr by default?
|
|
2
2
|
export default function wrecPlugin() {
|
|
3
|
+
console.log("wrecPlugin function entered");
|
|
3
4
|
const MEMBERS_TO_HIDE = new Set(["css", "html", "properties"]);
|
|
4
5
|
|
|
5
6
|
let currentClass;
|
|
@@ -118,7 +119,7 @@ export default function wrecPlugin() {
|
|
|
118
119
|
(declaration) => declaration.kind === "class"
|
|
119
120
|
);
|
|
120
121
|
|
|
121
|
-
for (aClass of classes) {
|
|
122
|
+
for (const aClass of classes) {
|
|
122
123
|
const { members } = aClass;
|
|
123
124
|
if (members) {
|
|
124
125
|
aClass.members = members.filter(
|