Browse Source

refactor: 改个名字

es6
iapyang 2 years ago
parent
commit
36a81b2f6a
  1. 4
      bin/cli/worker/cli.worker.js
  2. 0
      bin/cli/worker/template/action_type.t
  3. 0
      bin/cli/worker/template/main_thread.t
  4. 0
      bin/cli/worker/template/worker_thread.t

4
bin/cli/worker/cli.worker.js

@ -34,14 +34,14 @@ module.exports = {
[`${name}_worker`]: {
'main_thread': {
action: {},
[`${name}_main_thread.ts`]: path.resolve(__dirname, './template/main_thread_template.ts'),
[`${name}_main_thread.ts`]: path.resolve(__dirname, './template/main_thread_template.t'),
},
utils: {
'action_type.ts': '',
},
'worker_thread': {
action: {},
[`${name}_worker_thread.ts`]: path.resolve(__dirname, './template/worker_thread_template.ts'),
[`${name}_worker_thread.ts`]: path.resolve(__dirname, './template/worker_thread_template.t'),
},
},
};

0
bin/cli/worker/template/action_type.ts → bin/cli/worker/template/action_type.t

0
bin/cli/worker/template/main_thread_template.ts → bin/cli/worker/template/main_thread.t

0
bin/cli/worker/template/worker_thread_template.ts → bin/cli/worker/template/worker_thread.t

Loading…
Cancel
Save