@tamagui/build 1.33.4 → 1.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tamagui-build.js +7 -0
- package/.turbo/turbo-build.log +0 -0
package/package.json
CHANGED
package/tamagui-build.js
CHANGED
|
@@ -155,6 +155,9 @@ async function buildJs() {
|
|
|
155
155
|
const externalPlugin = createExternalPlugin({
|
|
156
156
|
skipNodeModulesBundle: true,
|
|
157
157
|
})
|
|
158
|
+
|
|
159
|
+
const external = shouldBundle ? ['@swc/*', '*.node'] : undefined
|
|
160
|
+
|
|
158
161
|
const start = Date.now()
|
|
159
162
|
return await Promise.all([
|
|
160
163
|
pkgMain
|
|
@@ -162,6 +165,7 @@ async function buildJs() {
|
|
|
162
165
|
entryPoints: files,
|
|
163
166
|
outdir: flatOut ? 'dist' : 'dist/cjs',
|
|
164
167
|
bundle: shouldBundle,
|
|
168
|
+
external,
|
|
165
169
|
sourcemap: true,
|
|
166
170
|
sourcesContent: false,
|
|
167
171
|
target: 'node14',
|
|
@@ -181,6 +185,7 @@ async function buildJs() {
|
|
|
181
185
|
entryPoints: files,
|
|
182
186
|
outdir: flatOut ? 'dist' : 'dist/esm',
|
|
183
187
|
bundle: shouldBundle,
|
|
188
|
+
external,
|
|
184
189
|
sourcemap: true,
|
|
185
190
|
sourcesContent: false,
|
|
186
191
|
target: 'node16',
|
|
@@ -200,6 +205,7 @@ async function buildJs() {
|
|
|
200
205
|
outExtension: { '.js': '.mjs' },
|
|
201
206
|
outdir: flatOut ? 'dist' : 'dist/esm',
|
|
202
207
|
bundle: shouldBundle,
|
|
208
|
+
external,
|
|
203
209
|
sourcemap: true,
|
|
204
210
|
sourcesContent: false,
|
|
205
211
|
target: 'node16',
|
|
@@ -221,6 +227,7 @@ async function buildJs() {
|
|
|
221
227
|
outExtension: { '.js': '.mjs' },
|
|
222
228
|
entryPoints: files,
|
|
223
229
|
bundle: shouldBundle,
|
|
230
|
+
external,
|
|
224
231
|
sourcemap: true,
|
|
225
232
|
sourcesContent: false,
|
|
226
233
|
allowOverwrite: true,
|
package/.turbo/turbo-build.log
DELETED
|
File without changes
|