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.
- package/dist/index.js +4 -1
- 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
|
-
|
|
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
|
}
|