@pixui-dev/pxw 0.1.26 → 0.1.28
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/config/devops.js +9 -3
- package/config/pfbs.js +4 -1
- package/config/util.js +12 -9
- package/config/webpack.js +1 -1
- package/lib/h5es-types/v1.9.2/h5es.d.ts +1609 -1604
- package/lib/h5es-types/v3.5.0/h5es.d.ts +1721 -1717
- package/lib/h5es-types/v3.5.6/h5es.d.ts +1700 -1686
- package/lib/types/preact/jsx.d.ts +0 -1
- package/package.json +1 -1
- package/scripts/run-pxw.js +6 -0
|
@@ -316,7 +316,6 @@ export namespace JSXInternal {
|
|
|
316
316
|
title: HTMLAttributes<HTMLTitleElement>;
|
|
317
317
|
video: HTMLAttributes<HTMLVideoElement>;
|
|
318
318
|
pixslot: HTMLAttributes<HTMLSlotElement>;
|
|
319
|
-
cef: HTMLAttributes<HTMLCefElement>;
|
|
320
319
|
/**
|
|
321
320
|
* 默认样式的 div 标签(语义化为 h1 标题)
|
|
322
321
|
* - 字体大小: `2em` (约 32px)
|
package/package.json
CHANGED
package/scripts/run-pxw.js
CHANGED
|
@@ -8,6 +8,12 @@ const child = spawn('node', [path.join(__dirname, '../bin/pxw.js')], {
|
|
|
8
8
|
env: process.env,
|
|
9
9
|
});
|
|
10
10
|
|
|
11
|
+
process.on('SIGTERM', () => {
|
|
12
|
+
if (child && !child.killed) {
|
|
13
|
+
child.kill('SIGKILL');
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
|
|
11
17
|
child.on('exit', (code) => {
|
|
12
18
|
process.exit(code);
|
|
13
19
|
});
|