astro 2.2.2 → 2.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/dist/assets/services/vendor/squoosh/avif/avif_node_dec.wasm.d.ts +3 -0
- package/dist/assets/services/vendor/squoosh/avif/avif_node_dec.wasm.js +4 -0
- package/dist/assets/services/vendor/squoosh/avif/avif_node_enc.wasm.d.ts +3 -0
- package/dist/assets/services/vendor/squoosh/avif/avif_node_enc.wasm.js +4 -0
- package/dist/assets/services/vendor/squoosh/codecs.js +24 -25
- package/dist/assets/services/vendor/squoosh/emscripten-utils.d.ts +2 -2
- package/dist/assets/services/vendor/squoosh/emscripten-utils.js +6 -8
- package/dist/assets/services/vendor/squoosh/mozjpeg/mozjpeg_node_dec.wasm.d.ts +3 -0
- package/dist/assets/services/vendor/squoosh/mozjpeg/mozjpeg_node_dec.wasm.js +4 -0
- package/dist/assets/services/vendor/squoosh/mozjpeg/mozjpeg_node_enc.wasm.d.ts +3 -0
- package/dist/assets/services/vendor/squoosh/mozjpeg/mozjpeg_node_enc.wasm.js +4 -0
- package/dist/assets/services/vendor/squoosh/png/squoosh_oxipng_bg.wasm.d.ts +3 -0
- package/dist/assets/services/vendor/squoosh/png/squoosh_oxipng_bg.wasm.js +4 -0
- package/dist/assets/services/vendor/squoosh/png/squoosh_png_bg.wasm.d.ts +3 -0
- package/dist/assets/services/vendor/squoosh/png/squoosh_png_bg.wasm.js +4 -0
- package/dist/assets/services/vendor/squoosh/resize/squoosh_resize_bg.wasm.d.ts +3 -0
- package/dist/assets/services/vendor/squoosh/resize/squoosh_resize_bg.wasm.js +4 -0
- package/dist/assets/services/vendor/squoosh/rotate/rotate.wasm.d.ts +3 -0
- package/dist/assets/services/vendor/squoosh/rotate/rotate.wasm.js +4 -0
- package/dist/assets/services/vendor/squoosh/webp/webp_node_dec.wasm.d.ts +3 -0
- package/dist/assets/services/vendor/squoosh/webp/webp_node_dec.wasm.js +4 -0
- package/dist/assets/services/vendor/squoosh/webp/webp_node_enc.wasm.d.ts +3 -0
- package/dist/assets/services/vendor/squoosh/webp/webp_node_enc.wasm.js +4 -0
- package/dist/assets/vite-plugin-assets.js +0 -10
- package/dist/content/index.d.ts +1 -0
- package/dist/content/index.js +3 -0
- package/dist/content/vite-plugin-content-assets.js +33 -34
- package/dist/content/vite-plugin-content-imports.js +17 -23
- package/dist/core/build/generate.js +0 -4
- package/dist/core/build/plugins/plugin-css.js +7 -9
- package/dist/core/constants.js +1 -1
- package/dist/core/dev/dev.js +1 -1
- package/dist/core/messages.js +2 -2
- package/dist/runtime/server/render/slot.js +1 -1
- package/dist/vite-plugin-jsx/index.js +7 -0
- package/package.json +1 -1
- package/dist/assets/services/vendor/squoosh/copy-wasm.d.ts +0 -2
- package/dist/assets/services/vendor/squoosh/copy-wasm.js +0 -37
|
@@ -10,7 +10,6 @@ import { appendForwardSlash, joinPaths, prependForwardSlash } from "../core/path
|
|
|
10
10
|
import { VIRTUAL_MODULE_ID, VIRTUAL_SERVICE_ID } from "./consts.js";
|
|
11
11
|
import { isESMImportedImage } from "./internal.js";
|
|
12
12
|
import { isLocalService } from "./services/service.js";
|
|
13
|
-
import { copyWasmFiles } from "./services/vendor/squoosh/copy-wasm.js";
|
|
14
13
|
import { emitESMImage } from "./utils/emitAsset.js";
|
|
15
14
|
import { imageMetadata } from "./utils/metadata.js";
|
|
16
15
|
import { getOrigQueryParams } from "./utils/queryParams.js";
|
|
@@ -143,15 +142,6 @@ function assets({
|
|
|
143
142
|
}
|
|
144
143
|
};
|
|
145
144
|
},
|
|
146
|
-
async buildEnd() {
|
|
147
|
-
if (mode != "build") {
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
if (settings.config.image.service === "astro/assets/services/squoosh") {
|
|
151
|
-
const dir = settings.config.output === "server" ? settings.config.build.server : settings.config.outDir;
|
|
152
|
-
await copyWasmFiles(new URL("./chunks", dir));
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
145
|
// In build, rewrite paths to ESM imported images in code to their final location
|
|
156
146
|
async renderChunk(code) {
|
|
157
147
|
const assetUrlRE = /__ASTRO_ASSET_IMAGE__([a-z\d]{8})__(?:_(.*?)__)?/g;
|
package/dist/content/index.d.ts
CHANGED
package/dist/content/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CONTENT_FLAG, PROPAGATED_ASSET_FLAG } from "./consts.js";
|
|
1
2
|
import { errorMap } from "./error-map.js";
|
|
2
3
|
import { attachContentServerListeners } from "./server-listeners.js";
|
|
3
4
|
import { createContentTypesGenerator } from "./types-generator.js";
|
|
@@ -6,6 +7,8 @@ import { astroContentAssetPropagationPlugin } from "./vite-plugin-content-assets
|
|
|
6
7
|
import { astroContentImportPlugin } from "./vite-plugin-content-imports.js";
|
|
7
8
|
import { astroContentVirtualModPlugin } from "./vite-plugin-content-virtual-mod.js";
|
|
8
9
|
export {
|
|
10
|
+
CONTENT_FLAG,
|
|
11
|
+
PROPAGATED_ASSET_FLAG,
|
|
9
12
|
astroContentAssetPropagationPlugin,
|
|
10
13
|
astroContentImportPlugin,
|
|
11
14
|
astroContentVirtualModPlugin,
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
STYLES_PLACEHOLDER
|
|
13
13
|
} from "./consts.js";
|
|
14
14
|
import { getContentEntryExts } from "./utils.js";
|
|
15
|
-
function isPropagatedAsset(viteId
|
|
16
|
-
const
|
|
17
|
-
return
|
|
15
|
+
function isPropagatedAsset(viteId) {
|
|
16
|
+
const flags = new URLSearchParams(viteId.split("?")[1]);
|
|
17
|
+
return flags.has(PROPAGATED_ASSET_FLAG);
|
|
18
18
|
}
|
|
19
19
|
function astroContentAssetPropagationPlugin({
|
|
20
20
|
mode,
|
|
@@ -24,48 +24,47 @@ function astroContentAssetPropagationPlugin({
|
|
|
24
24
|
const contentEntryExts = getContentEntryExts(settings);
|
|
25
25
|
return {
|
|
26
26
|
name: "astro:content-asset-propagation",
|
|
27
|
-
enforce: "pre",
|
|
28
27
|
configureServer(server) {
|
|
29
28
|
if (mode === "dev") {
|
|
30
29
|
devModuleLoader = createViteLoader(server);
|
|
31
30
|
}
|
|
32
31
|
},
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
async transform(_, id, options) {
|
|
33
|
+
var _a;
|
|
34
|
+
if (isPropagatedAsset(id)) {
|
|
35
35
|
const basePath = id.split("?")[0];
|
|
36
|
+
let stringifiedLinks, stringifiedStyles, stringifiedScripts;
|
|
37
|
+
if ((options == null ? void 0 : options.ssr) && devModuleLoader) {
|
|
38
|
+
if (!((_a = devModuleLoader.getModuleById(basePath)) == null ? void 0 : _a.ssrModule)) {
|
|
39
|
+
await devModuleLoader.import(basePath);
|
|
40
|
+
}
|
|
41
|
+
const { stylesMap, urls } = await getStylesForURL(
|
|
42
|
+
pathToFileURL(basePath),
|
|
43
|
+
devModuleLoader,
|
|
44
|
+
"development"
|
|
45
|
+
);
|
|
46
|
+
const hoistedScripts = await getScriptsForURL(
|
|
47
|
+
pathToFileURL(basePath),
|
|
48
|
+
settings.config.root,
|
|
49
|
+
devModuleLoader
|
|
50
|
+
);
|
|
51
|
+
stringifiedLinks = JSON.stringify([...urls]);
|
|
52
|
+
stringifiedStyles = JSON.stringify([...stylesMap.values()]);
|
|
53
|
+
stringifiedScripts = JSON.stringify([...hoistedScripts]);
|
|
54
|
+
} else {
|
|
55
|
+
stringifiedLinks = JSON.stringify(LINKS_PLACEHOLDER);
|
|
56
|
+
stringifiedStyles = JSON.stringify(STYLES_PLACEHOLDER);
|
|
57
|
+
stringifiedScripts = JSON.stringify(SCRIPTS_PLACEHOLDER);
|
|
58
|
+
}
|
|
36
59
|
const code = `
|
|
37
60
|
export async function getMod() {
|
|
38
61
|
return import(${JSON.stringify(basePath)});
|
|
39
62
|
}
|
|
40
|
-
export const collectedLinks = ${
|
|
41
|
-
export const collectedStyles = ${
|
|
42
|
-
export const collectedScripts = ${
|
|
63
|
+
export const collectedLinks = ${stringifiedLinks};
|
|
64
|
+
export const collectedStyles = ${stringifiedStyles};
|
|
65
|
+
export const collectedScripts = ${stringifiedScripts};
|
|
43
66
|
`;
|
|
44
|
-
return { code };
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
async transform(code, id, options) {
|
|
48
|
-
var _a;
|
|
49
|
-
if (!(options == null ? void 0 : options.ssr))
|
|
50
|
-
return;
|
|
51
|
-
if (devModuleLoader && isPropagatedAsset(id, contentEntryExts)) {
|
|
52
|
-
const basePath = id.split("?")[0];
|
|
53
|
-
if (!((_a = devModuleLoader.getModuleById(basePath)) == null ? void 0 : _a.ssrModule)) {
|
|
54
|
-
await devModuleLoader.import(basePath);
|
|
55
|
-
}
|
|
56
|
-
const { stylesMap, urls } = await getStylesForURL(
|
|
57
|
-
pathToFileURL(basePath),
|
|
58
|
-
devModuleLoader,
|
|
59
|
-
"development"
|
|
60
|
-
);
|
|
61
|
-
const hoistedScripts = await getScriptsForURL(
|
|
62
|
-
pathToFileURL(basePath),
|
|
63
|
-
settings.config.root,
|
|
64
|
-
devModuleLoader
|
|
65
|
-
);
|
|
66
|
-
return {
|
|
67
|
-
code: code.replace(JSON.stringify(LINKS_PLACEHOLDER), JSON.stringify([...urls])).replace(JSON.stringify(STYLES_PLACEHOLDER), JSON.stringify([...stylesMap.values()])).replace(JSON.stringify(SCRIPTS_PLACEHOLDER), JSON.stringify([...hoistedScripts]))
|
|
68
|
-
};
|
|
67
|
+
return { code, map: { mappings: "" } };
|
|
69
68
|
}
|
|
70
69
|
}
|
|
71
70
|
};
|
|
@@ -15,9 +15,9 @@ import {
|
|
|
15
15
|
globalContentConfigObserver,
|
|
16
16
|
NoCollectionError
|
|
17
17
|
} from "./utils.js";
|
|
18
|
-
function isContentFlagImport(viteId
|
|
19
|
-
const
|
|
20
|
-
return
|
|
18
|
+
function isContentFlagImport(viteId) {
|
|
19
|
+
const flags = new URLSearchParams(viteId.split("?")[1]);
|
|
20
|
+
return flags.has(CONTENT_FLAG);
|
|
21
21
|
}
|
|
22
22
|
function getContentRendererByViteId(viteId, settings) {
|
|
23
23
|
let ext = viteId.split(".").pop();
|
|
@@ -46,32 +46,31 @@ function astroContentImportPlugin({
|
|
|
46
46
|
const plugins = [
|
|
47
47
|
{
|
|
48
48
|
name: "astro:content-imports",
|
|
49
|
-
async
|
|
50
|
-
if (isContentFlagImport(viteId
|
|
51
|
-
const
|
|
49
|
+
async transform(_, viteId) {
|
|
50
|
+
if (isContentFlagImport(viteId)) {
|
|
51
|
+
const fileId = viteId.split("?")[0];
|
|
52
52
|
const { id, slug, collection, body, data, _internal } = await setContentEntryModuleCache({
|
|
53
53
|
fileId,
|
|
54
54
|
pluginContext: this
|
|
55
55
|
});
|
|
56
56
|
const code = escapeViteEnvReferences(`
|
|
57
|
-
export const id = ${JSON.stringify(id)};
|
|
58
|
-
export const collection = ${JSON.stringify(collection)};
|
|
59
|
-
export const slug = ${JSON.stringify(slug)};
|
|
60
|
-
export const body = ${JSON.stringify(body)};
|
|
61
|
-
export const data = ${devalue.uneval(data)};
|
|
62
|
-
export const _internal = {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
return { code };
|
|
57
|
+
export const id = ${JSON.stringify(id)};
|
|
58
|
+
export const collection = ${JSON.stringify(collection)};
|
|
59
|
+
export const slug = ${JSON.stringify(slug)};
|
|
60
|
+
export const body = ${JSON.stringify(body)};
|
|
61
|
+
export const data = ${devalue.uneval(data)};
|
|
62
|
+
export const _internal = {
|
|
63
|
+
filePath: ${JSON.stringify(_internal.filePath)},
|
|
64
|
+
rawData: ${JSON.stringify(_internal.rawData)},
|
|
65
|
+
};`);
|
|
66
|
+
return { code, map: { mappings: "" } };
|
|
68
67
|
}
|
|
69
68
|
},
|
|
70
69
|
configureServer(viteServer) {
|
|
71
70
|
viteServer.watcher.on("all", async (event, entry) => {
|
|
72
71
|
if (CHOKIDAR_MODIFIED_EVENTS.includes(event) && getEntryType(entry, contentPaths, contentEntryExts) === "config") {
|
|
73
72
|
for (const modUrl of viteServer.moduleGraph.urlToModuleMap.keys()) {
|
|
74
|
-
if (isContentFlagImport(modUrl
|
|
73
|
+
if (isContentFlagImport(modUrl) || Boolean(getContentRendererByViteId(modUrl, settings))) {
|
|
75
74
|
const mod = await viteServer.moduleGraph.getModuleByUrl(modUrl);
|
|
76
75
|
if (mod) {
|
|
77
76
|
viteServer.moduleGraph.invalidateModule(mod);
|
|
@@ -80,11 +79,6 @@ export const _internal = {
|
|
|
80
79
|
}
|
|
81
80
|
}
|
|
82
81
|
});
|
|
83
|
-
},
|
|
84
|
-
async transform(code, id) {
|
|
85
|
-
if (isContentFlagImport(id, contentEntryExts)) {
|
|
86
|
-
return { code: escapeViteEnvReferences(code) };
|
|
87
|
-
}
|
|
88
82
|
}
|
|
89
83
|
}
|
|
90
84
|
];
|
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
generateImage as generateImageInternal,
|
|
7
7
|
getStaticImageList
|
|
8
8
|
} from "../../assets/internal.js";
|
|
9
|
-
import { deleteWasmFiles } from "../../assets/services/vendor/squoosh/copy-wasm.js";
|
|
10
9
|
import { hasPrerenderedPages } from "../../core/build/internal.js";
|
|
11
10
|
import {
|
|
12
11
|
prependForwardSlash,
|
|
@@ -88,9 +87,6 @@ ${bgGreen(black(` generating optimized images `))}`);
|
|
|
88
87
|
for (const imageData of getStaticImageList()) {
|
|
89
88
|
await generateImage(opts, imageData[1].options, imageData[1].path);
|
|
90
89
|
}
|
|
91
|
-
if (opts.settings.config.image.service === "astro/assets/services/squoosh" && opts.settings.config.output === "static") {
|
|
92
|
-
await deleteWasmFiles(new URL("./chunks", opts.settings.config.outDir));
|
|
93
|
-
}
|
|
94
90
|
delete globalThis.astroAsset.addStaticImage;
|
|
95
91
|
}
|
|
96
92
|
await runHookBuildGenerated({
|
|
@@ -34,7 +34,14 @@ function rollupPluginAstroBuildCSS(options) {
|
|
|
34
34
|
return [
|
|
35
35
|
{
|
|
36
36
|
name: "astro:rollup-plugin-build-css",
|
|
37
|
+
transform(_, id) {
|
|
38
|
+
if (options.target === "client" && internals.cssChunkModuleIds.has(id)) {
|
|
39
|
+
return "";
|
|
40
|
+
}
|
|
41
|
+
},
|
|
37
42
|
outputOptions(outputOptions) {
|
|
43
|
+
if (options.target === "client")
|
|
44
|
+
return;
|
|
38
45
|
const assetFileNames = outputOptions.assetFileNames;
|
|
39
46
|
const namingIncludesHash = assetFileNames == null ? void 0 : assetFileNames.toString().includes("[hash]");
|
|
40
47
|
const createNameForParentPages = namingIncludesHash ? assetName.shortHashedName : assetName.createSlugger(settings);
|
|
@@ -82,15 +89,6 @@ function rollupPluginAstroBuildCSS(options) {
|
|
|
82
89
|
internals.cssChunkModuleIds.add(id);
|
|
83
90
|
}
|
|
84
91
|
}
|
|
85
|
-
if (options.target === "client") {
|
|
86
|
-
if (Object.keys(c.modules).every((id) => internals.cssChunkModuleIds.has(id))) {
|
|
87
|
-
for (const importedCssImport of meta.importedCss) {
|
|
88
|
-
delete bundle[importedCssImport];
|
|
89
|
-
meta.importedCss.delete(importedCssImport);
|
|
90
|
-
}
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
92
|
if (options.target === "client") {
|
|
95
93
|
for (const id of Object.keys(c.modules)) {
|
|
96
94
|
for (const pageData of getParentClientOnlys(id, this)) {
|
package/dist/core/constants.js
CHANGED
package/dist/core/dev/dev.js
CHANGED
|
@@ -53,7 +53,7 @@ async function dev(settings, options) {
|
|
|
53
53
|
isRestart: options.isRestart
|
|
54
54
|
})
|
|
55
55
|
);
|
|
56
|
-
const currentVersion = "2.2.
|
|
56
|
+
const currentVersion = "2.2.3";
|
|
57
57
|
if (currentVersion.includes("-")) {
|
|
58
58
|
warn(options.logging, null, msg.prerelease({ currentVersion }));
|
|
59
59
|
}
|
package/dist/core/messages.js
CHANGED
|
@@ -47,7 +47,7 @@ function serverStart({
|
|
|
47
47
|
base,
|
|
48
48
|
isRestart = false
|
|
49
49
|
}) {
|
|
50
|
-
const version = "2.2.
|
|
50
|
+
const version = "2.2.3";
|
|
51
51
|
const localPrefix = `${dim("\u2503")} Local `;
|
|
52
52
|
const networkPrefix = `${dim("\u2503")} Network `;
|
|
53
53
|
const emptyPrefix = " ".repeat(11);
|
|
@@ -233,7 +233,7 @@ function printHelp({
|
|
|
233
233
|
message.push(
|
|
234
234
|
linebreak(),
|
|
235
235
|
` ${bgGreen(black(` ${commandName} `))} ${green(
|
|
236
|
-
`v${"2.2.
|
|
236
|
+
`v${"2.2.3"}`
|
|
237
237
|
)} ${headline}`
|
|
238
238
|
);
|
|
239
239
|
}
|
|
@@ -17,7 +17,7 @@ async function* renderSlot(result, slotted, fallback) {
|
|
|
17
17
|
let iterator = renderChild(typeof slotted === "function" ? slotted(result) : slotted);
|
|
18
18
|
yield* iterator;
|
|
19
19
|
}
|
|
20
|
-
if (fallback) {
|
|
20
|
+
if (fallback && !slotted) {
|
|
21
21
|
yield* renderSlot(result, fallback);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
import babel from "@babel/core";
|
|
5
5
|
import * as colors from "kleur/colors";
|
|
6
6
|
import path from "path";
|
|
7
|
+
import { CONTENT_FLAG, PROPAGATED_ASSET_FLAG } from "../content/index.js";
|
|
7
8
|
import { error } from "../core/logger/core.js";
|
|
8
9
|
import { removeQueryString } from "../core/path.js";
|
|
9
10
|
import { detectImportSource } from "./import-source.js";
|
|
@@ -75,6 +76,9 @@ async function transformJSX({
|
|
|
75
76
|
map: result.map
|
|
76
77
|
};
|
|
77
78
|
}
|
|
79
|
+
const SPECIAL_QUERY_REGEX = new RegExp(
|
|
80
|
+
`[?&](?:worker|sharedworker|raw|url|${CONTENT_FLAG}|${PROPAGATED_ASSET_FLAG})\\b`
|
|
81
|
+
);
|
|
78
82
|
function jsx({ settings, logging }) {
|
|
79
83
|
let viteConfig;
|
|
80
84
|
const jsxRenderers = /* @__PURE__ */ new Map();
|
|
@@ -100,6 +104,9 @@ function jsx({ settings, logging }) {
|
|
|
100
104
|
},
|
|
101
105
|
async transform(code, id, opts) {
|
|
102
106
|
const ssr = Boolean(opts == null ? void 0 : opts.ssr);
|
|
107
|
+
if (SPECIAL_QUERY_REGEX.test(id)) {
|
|
108
|
+
return null;
|
|
109
|
+
}
|
|
103
110
|
id = removeQueryString(id);
|
|
104
111
|
if (!JSX_EXTENSIONS.has(path.extname(id))) {
|
|
105
112
|
return null;
|
package/package.json
CHANGED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import fs from "node:fs/promises";
|
|
2
|
-
import path from "node:path";
|
|
3
|
-
import { fileURLToPath } from "node:url";
|
|
4
|
-
async function copyWasmFiles(dir) {
|
|
5
|
-
const src = new URL("./", import.meta.url);
|
|
6
|
-
const fileList = await listFiles(fileURLToPath(src), fileURLToPath(dir));
|
|
7
|
-
for (let file of fileList) {
|
|
8
|
-
await fs.mkdir(path.dirname(file.dest), { recursive: true });
|
|
9
|
-
await fs.copyFile(file.src, file.dest);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
async function deleteWasmFiles(dir) {
|
|
13
|
-
const src = new URL("./", import.meta.url);
|
|
14
|
-
const fileList = await listFiles(fileURLToPath(src), fileURLToPath(dir));
|
|
15
|
-
for (let file of fileList) {
|
|
16
|
-
await fs.rm(file.dest);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
async function listFiles(src, dest) {
|
|
20
|
-
const itemNames = await fs.readdir(src);
|
|
21
|
-
const copiedFiles = [];
|
|
22
|
-
await Promise.all(itemNames.map(async (srcName) => {
|
|
23
|
-
const srcPath = path.join(src, srcName);
|
|
24
|
-
const destPath = path.join(dest, srcName);
|
|
25
|
-
const s = await fs.stat(srcPath);
|
|
26
|
-
if (s.isFile() && /.wasm$/.test(srcPath)) {
|
|
27
|
-
copiedFiles.push({ src: srcPath, dest: destPath });
|
|
28
|
-
} else if (s.isDirectory()) {
|
|
29
|
-
copiedFiles.push(...await listFiles(srcPath, destPath));
|
|
30
|
-
}
|
|
31
|
-
}));
|
|
32
|
-
return copiedFiles;
|
|
33
|
-
}
|
|
34
|
-
export {
|
|
35
|
-
copyWasmFiles,
|
|
36
|
-
deleteWasmFiles
|
|
37
|
-
};
|