소스 검색

chore: CTA license headers and externals (#1485)

* add common node libs as externals, hides warning

* add license header to vue-cli file
Jacob Bolda 4 년 전
부모
커밋
fa99fda0cf
2개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 0
      tooling/create-tauri-app/rollup.config.js
  2. 4 1
      tooling/create-tauri-app/src/recipes/vue-cli.ts

+ 2 - 0
tooling/create-tauri-app/rollup.config.js

@@ -14,6 +14,8 @@ export default {
   },
   plugins: [typescript(), commonjs({ extensions: [".js"] })],
   external: [
+    "fs",
+    "path",
     ...Object.keys(pkg.dependencies || {}),
     ...Object.keys(pkg.peerDependencies || {}),
   ],

+ 4 - 1
tooling/create-tauri-app/src/recipes/vue-cli.ts

@@ -1,6 +1,9 @@
+// Copyright 2019-2021 Tauri Programme within The Commons Conservancy
+// SPDX-License-Identifier: Apache-2.0
+// SPDX-License-Identifier: MIT
+
 import { Recipe } from "..";
 import { join } from "path";
-//@ts-ignore
 import { shell } from "../shell";
 
 const completeLogMsg = `