浏览代码

Replace require with import in start task

Dominik Prokop 6 年之前
父节点
当前提交
28f42bab5b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/cli/start.ts

+ 1 - 1
scripts/cli/start.ts

@@ -1,4 +1,4 @@
-const concurrently = require('concurrently');
+import concurrently from 'concurrently';
 
 export const startTask = async ({ watchThemes, hot }: { watchThemes: boolean; hot: boolean }) => {
   const jobs = [];