@plumeria/compiler 2.2.0 → 2.2.2
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/bin/css.js +4 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/bin/css.js
CHANGED
|
@@ -11,12 +11,14 @@ const { register } = require('rscute/register');
|
|
|
11
11
|
register();
|
|
12
12
|
|
|
13
13
|
try {
|
|
14
|
-
const checkMark = styleText('greenBright', '✓');
|
|
15
14
|
const stats = process.argv.includes('--stats');
|
|
15
|
+
const view = process.argv.includes('--view');
|
|
16
|
+
const paths = process.argv.includes('--paths');
|
|
16
17
|
|
|
17
18
|
require(path.resolve(__dirname, '../dist/index.js'));
|
|
18
19
|
|
|
19
|
-
if (!stats
|
|
20
|
+
if (!stats && !view && !paths)
|
|
21
|
+
console.log(styleText(['green', 'bold'], '✓ extract...'));
|
|
20
22
|
} catch (error) {
|
|
21
23
|
console.error('Compilation failed:', error.message);
|
|
22
24
|
process.exit(1);
|
package/dist/index.js
CHANGED
|
@@ -223,8 +223,8 @@ async function main() {
|
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
await
|
|
227
|
-
await
|
|
226
|
+
await processors_1.gQueue.build(coreFilePath);
|
|
227
|
+
await processors_1.pQueue.build(coreFilePath);
|
|
228
228
|
await optimizeCSS();
|
|
229
229
|
extract_1.generatedTsMap.clear();
|
|
230
230
|
if (process.argv.includes('--stats')) {
|