vite-plugin-react-deck 1.0.3 → 1.0.4

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 (3) hide show
  1. package/index.cjs +3 -1
  2. package/index.mjs +3 -1
  3. package/package.json +1 -1
package/index.cjs CHANGED
@@ -271,8 +271,10 @@ var src_default = (options) => {
271
271
  });
272
272
  return contentIndex;
273
273
  }
274
- if (!id.endsWith("deck.mdx"))
274
+ if (!id.endsWith("deck.mdx")) {
275
+ console.log("passing");
275
276
  return;
277
+ }
276
278
  const content = await fs.readFile(id, "utf-8");
277
279
  const data = await transformSlidesMdxToReact(content, {
278
280
  production: isProd,
package/index.mjs CHANGED
@@ -248,8 +248,10 @@ var src_default = (options) => {
248
248
  });
249
249
  return contentIndex;
250
250
  }
251
- if (!id.endsWith("deck.mdx"))
251
+ if (!id.endsWith("deck.mdx")) {
252
+ console.log("passing");
252
253
  return;
254
+ }
253
255
  const content = await fs.readFile(id, "utf-8");
254
256
  const data = await transformSlidesMdxToReact(content, {
255
257
  production: isProd,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-react-deck",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "index.cjs",