Skip to content

Commit

Permalink
fix: update build step
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed Apr 13, 2023
1 parent f19263a commit e0917bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/dry-days-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@svbstrate/react-native": patch
---

Update build step to _not_ bundle files, simply transform and output to `dist`
3 changes: 0 additions & 3 deletions packages/react-native/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@ const path = require("path");

const options = {
entryPoints: ["lib/index.tsx"],
bundle: true,
sourcemap: true,
minify: true,
logLevel: "info",
external: ["react", "react-native"],
};

require("esbuild").buildSync({
Expand Down

0 comments on commit e0917bf

Please sign in to comment.