paralayer 1.0.5 → 1.0.6
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/dist/paralayer.js +3 -1
- package/package.json +1 -1
package/dist/paralayer.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import * as $utils from '@eposlabs/utils';
|
|
1
2
|
import * as $chokidar from 'chokidar';
|
|
2
3
|
import * as $fs from 'node:fs/promises';
|
|
3
4
|
import * as $path from 'node:path';
|
|
4
|
-
import * as $utils from '@eposlabs/utils';
|
|
5
5
|
export class Paralayer extends $utils.Unit {
|
|
6
6
|
files = {};
|
|
7
7
|
options;
|
|
@@ -124,6 +124,8 @@ export class Paralayer extends $utils.Unit {
|
|
|
124
124
|
// HELPERS
|
|
125
125
|
// ---------------------------------------------------------------------------
|
|
126
126
|
extractExportedClassNames(content) {
|
|
127
|
+
if (content.includes('paralayer-ignore'))
|
|
128
|
+
return [];
|
|
127
129
|
return content
|
|
128
130
|
.split('export class ')
|
|
129
131
|
.slice(1)
|