@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixui-dev/pxw",
3
- "version": "0.1.26",
3
+ "version": "0.1.28",
4
4
  "private": false,
5
5
  "directories": {
6
6
  "lib": "lib"
@@ -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
  });