@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.
Files changed (2) hide show
  1. package/bin/paint.js +3 -1
  2. 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
- const result = spawnSync(process.execPath, [NEXT_BIN, 'build'], {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antigenic-oss/paint",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Visual editor for localhost web projects with a global paint CLI",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/Antigenic-OSS/pAInt",