mirror of
https://github.com/block/buzz.git
synced 2026-10-29 05:21:31 +00:00
fix(design-system): include notices only during production builds
Signed-off-by: Arjun Mahanti <arjun@squareup.com> Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -18,6 +18,7 @@ export default defineConfig({
|
||||
react(),
|
||||
{
|
||||
name: "license-notices",
|
||||
apply: "build",
|
||||
closeBundle() {
|
||||
copyFileSync(
|
||||
"../packages/ui/THIRD_PARTY_NOTICES.md",
|
||||
|
||||
@@ -4,6 +4,7 @@ export default defineConfig({
|
||||
plugins: [
|
||||
{
|
||||
name: "license-notices",
|
||||
apply: "build",
|
||||
closeBundle() {
|
||||
copyFileSync("THIRD_PARTY_NOTICES.md", "dist/THIRD_PARTY_NOTICES.md");
|
||||
copyFileSync("../../LICENSE", "dist/LICENSE");
|
||||
|
||||
Reference in New Issue
Block a user