@fastly/compute-js-static-publish 5.1.0 → 5.1.1

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.
@@ -414,8 +414,8 @@ export async function buildStaticLoader(commandLineValues) {
414
414
 
415
415
  `;
416
416
  fileContents += 'import { ContentAssets, ModuleAssets, PublisherServer } from "@fastly/compute-js-static-publish";\n\n';
417
- fileContents += 'import "@fastly/compute-js-static-publish/build/compute-js";\n\n';
418
- fileContents += 'import { kvStoreName, contentAssetMetadataMap } from "./statics-metadata";\n';
417
+ fileContents += 'import "@fastly/compute-js-static-publish/build/compute-js.js";\n\n';
418
+ fileContents += 'import { kvStoreName, contentAssetMetadataMap } from "./statics-metadata.js";\n';
419
419
  // Add import statements for assets that are modules and that need to be statically imported.
420
420
  const staticImportModuleNumbers = {};
421
421
  let staticImportModuleNumber = 0;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fastly/compute-js-static-publish",
3
3
  "type": "module",
4
- "version": "5.1.0",
4
+ "version": "5.1.1",
5
5
  "description": "Static Publisher for Compute@Edge JavaScript",
6
6
  "main": "./build/index.js",
7
7
  "types": "./build/index.d.ts",