@skgo/sveltekit-adapter 0.3.6 → 0.3.7
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/skgo-adapter.js +5 -0
package/package.json
CHANGED
package/skgo-adapter.js
CHANGED
|
@@ -181,6 +181,11 @@ export default function skgo({ out = 'build', precompress = true } = {}) {
|
|
|
181
181
|
'\t'
|
|
182
182
|
)
|
|
183
183
|
);
|
|
184
|
+
// The generated app tracks this one empty file so its all:build embed
|
|
185
|
+
// pattern matches in a fresh checkout. adapt() clears the output tree,
|
|
186
|
+
// so restore the placeholder rather than making every frontend build
|
|
187
|
+
// appear to delete tracked source.
|
|
188
|
+
write(`${out}/.gitkeep`, '');
|
|
184
189
|
|
|
185
190
|
builder.log.minor(`skgo: wrote ${out}/`);
|
|
186
191
|
}
|