@fastly/compute-js-static-publish 2.3.0-alpha.1 → 2.3.0-alpha.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.
@@ -1 +1 @@
1
- {"version":3,"file":"build-static.d.ts","sourceRoot":"","sources":["../src/build-static.ts"],"names":[],"mappings":"AAcA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAchD,wBAAsB,iBAAiB,CAAC,iBAAiB,EAAE,eAAe,CAAC,kBAAkB,iBAsN5F"}
1
+ {"version":3,"file":"build-static.d.ts","sourceRoot":"","sources":["../src/build-static.ts"],"names":[],"mappings":"AAcA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAchD,wBAAsB,iBAAiB,CAAC,iBAAiB,EAAE,eAAe,CAAC,kBAAkB,iBAwN5F"}
@@ -132,6 +132,7 @@ export async function buildStaticLoader(commandLineValues) {
132
132
  }
133
133
  knownAssets[filePath] = { contentType: type, isStatic, loadModule, };
134
134
  }
135
+ fileContents += 'import { StaticAssets } from "@fastly/compute-js-static-publish";\n';
135
136
  fileContents += `\nexport const assets = {\n`;
136
137
  for (const [index, file] of files.entries()) {
137
138
  const contentDef = defaultContentTypes.testFileContentType(finalContentTypes, file);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fastly/compute-js-static-publish",
3
3
  "type": "module",
4
- "version": "2.3.0-alpha.1",
4
+ "version": "2.3.0-alpha.2",
5
5
  "description": "Static Publisher for Compute@Edge JavaScript",
6
6
  "main": "./build/index.js",
7
7
  "types": "./build/index.d.ts",