@openworkers/adapter-sveltekit 0.5.1 → 0.5.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/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -202,6 +202,9 @@ var version = pkg.version;
|
|
|
202
202
|
function index_default(options = {}) {
|
|
203
203
|
return {
|
|
204
204
|
name,
|
|
205
|
+
supports: {
|
|
206
|
+
read: () => true
|
|
207
|
+
},
|
|
205
208
|
async adapt(builder) {
|
|
206
209
|
const dest = options.outDir ?? "build";
|
|
207
210
|
const assetsDir = `${dest}/assets`;
|
|
@@ -264,6 +267,7 @@ export { Server, manifest, prerendered, base_path };
|
|
|
264
267
|
},
|
|
265
268
|
external: ["node:*"],
|
|
266
269
|
minifySyntax: true,
|
|
270
|
+
minifyWhitespace: true,
|
|
267
271
|
minifyIdentifiers: true,
|
|
268
272
|
treeShaking: true,
|
|
269
273
|
banner: {
|