vite-plugin-millennium-skin 1.0.8 → 1.0.9

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 CHANGED
@@ -182,6 +182,7 @@ function de() {
182
182
  Object.entries(p).forEach(([, r]) => {
183
183
  const { type: g } = r, h = r.fileName;
184
184
  if (g === "chunk") {
185
+ if (!r.facadeModuleId) return;
185
186
  const l = b.parse(
186
187
  r.facadeModuleId
187
188
  ), f = m(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-millennium-skin",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "main": "./dist/index.js",
5
5
  "type": "module",
6
6
  "directories": {
package/src/ts/index.ts CHANGED
@@ -224,6 +224,7 @@ export default function millenniumSkin(): Plugin {
224
224
 
225
225
  const compileLib = bundle.fileName;
226
226
  if (type === "chunk") {
227
+ if (!bundle.facadeModuleId) return;
227
228
  const compileParsed = path.parse(
228
229
  bundle.facadeModuleId as string,
229
230
  );