Skip to content

Commit

Permalink
fix(workspace-tools): Added banner to tsup patch
Browse files Browse the repository at this point in the history
  • Loading branch information
sullivanpj committed Nov 18, 2023
1 parent d75e081 commit 2b97503
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
11 changes: 10 additions & 1 deletion patches/tsup@7.2.0.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/dist/index.js b/dist/index.js
index 68c197cb2b8dfa928a448475b4020e7301da959e..c413a315956fcb808b4eee54bc0f1293e7944b19 100644
index 68c197cb2b8dfa928a448475b4020e7301da959e..c9d00b987d694dc40b6381d5d5ca0eddd54a20dd 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1605,8 +1605,29 @@ async function runEsbuild(options, {
Expand Down Expand Up @@ -34,6 +34,15 @@ index 68c197cb2b8dfa928a448475b4020e7301da959e..c413a315956fcb808b4eee54bc0f1293
const external = [
// Exclude dependencies, e.g. `lodash`, `lodash/get`
...deps.map((dep) => new RegExp(`^${dep}($|\\/|\\\\)`)),
@@ -1676,7 +1697,7 @@ async function runEsbuild(options, {
jsxFragment: options.jsxFragment,
sourcemap: options.sourcemap ? "external" : false,
target: options.target,
- banner,
+ banner: { js: "Created by Storm Software", css: "Created by Storm Software" },
footer,
tsconfig: options.tsconfig,
loader: {
@@ -1727,7 +1748,7 @@ async function runEsbuild(options, {
outExtension: options.legacyOutput ? void 0 : outExtension,
write: false,
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2b97503

Please sign in to comment.