uniweb 0.1.1 → 0.1.2
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/src/index.js +6 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -260,6 +260,12 @@ dist
|
|
|
260
260
|
*.local
|
|
261
261
|
`)
|
|
262
262
|
|
|
263
|
+
// .npmrc - approve build scripts for known packages
|
|
264
|
+
writeFile(join(projectDir, '.npmrc'), `onlyBuiltDependencies:
|
|
265
|
+
- esbuild
|
|
266
|
+
- sharp
|
|
267
|
+
`)
|
|
268
|
+
|
|
263
269
|
// Create site package
|
|
264
270
|
await createSite(join(projectDir, 'packages/site'), 'site', true)
|
|
265
271
|
|