vite-plugin-cross-origin-storage 1.3.10 → 1.3.11

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1647,9 +1647,12 @@ function cosPlugin(options = {}) {
1647
1647
  const chunk = bundle[fileName];
1648
1648
  if (chunk.type === "chunk") {
1649
1649
  if (chunk.isEntry) {
1650
+ console.log(`COS Plugin: [ENTRY] ${fileName}`);
1650
1651
  mainChunk = chunk;
1651
1652
  } else {
1652
- if (filter(fileName)) {
1653
+ const res = filter(fileName);
1654
+ console.log(`COS Plugin: [FILTER] ${fileName} -> ${res ? "INCLUDE" : "SKIP"}`);
1655
+ if (res) {
1653
1656
  managedChunks[fileName] = chunk;
1654
1657
  }
1655
1658
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-cross-origin-storage",
3
- "version": "1.3.10",
3
+ "version": "1.3.11",
4
4
  "description": "Vite plugin to load chunks from Cross-Origin Storage",
5
5
  "keywords": [
6
6
  "vite",