Skip to content

Commit

Permalink
chore: CTA license headers and externals (#1485)
Browse files Browse the repository at this point in the history
* add common node libs as externals, hides warning

* add license header to vue-cli file
  • Loading branch information
jbolda committed Apr 14, 2021
1 parent ec27ca8 commit fa99fda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tooling/create-tauri-app/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export default {
},
plugins: [typescript(), commonjs({ extensions: [".js"] })],
external: [
"fs",
"path",
...Object.keys(pkg.dependencies || {}),
...Object.keys(pkg.peerDependencies || {}),
],
Expand Down
5 changes: 4 additions & 1 deletion tooling/create-tauri-app/src/recipes/vue-cli.ts
Original file line number Diff line number Diff line change
@@ -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 = `
Expand Down

0 comments on commit fa99fda

Please sign in to comment.