@antigenic-oss/paint 0.2.2 → 0.2.3
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/bin/paint.js +3 -1
- package/package.json +1 -1
package/bin/paint.js
CHANGED
|
@@ -271,7 +271,9 @@ function ensureBuilt(forceRebuild) {
|
|
|
271
271
|
console.log(
|
|
272
272
|
forceRebuild ? 'Rebuilding pAInt…' : 'Building pAInt for first run…',
|
|
273
273
|
)
|
|
274
|
-
|
|
274
|
+
// Use webpack for packaged/global runtime builds.
|
|
275
|
+
// Turbopack can fail when the app lives under node_modules.
|
|
276
|
+
const result = spawnSync(process.execPath, [NEXT_BIN, 'build', '--webpack'], {
|
|
275
277
|
cwd: APP_ROOT,
|
|
276
278
|
env: process.env,
|
|
277
279
|
stdio: 'inherit',
|
package/package.json
CHANGED