@md-plugins/vite-examples-plugin 0.1.0-alpha.16 → 0.1.0-alpha.17

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.mjs +4 -4
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -10,7 +10,7 @@ function devLoad(id) {
10
10
  return `export const code = import.meta.glob(${query}, { eager: true })
11
11
  export const source = import.meta.glob(${query}, { query: '?raw', import: 'default', eager: true })`;
12
12
  }
13
- return void 0;
13
+ return undefined;
14
14
  }
15
15
  function prodLoad(id) {
16
16
  if (id.startsWith(resolvedIdPrefix)) {
@@ -25,7 +25,7 @@ import Raw${entry} from 'app/src/examples/${exampleId}/${entry}.vue?raw'`
25
25
  return importStatements + `
26
26
  export {${exportStatements}}`;
27
27
  }
28
- return void 0;
28
+ return undefined;
29
29
  }
30
30
  function vitePlugin(isProd) {
31
31
  if (!targetFolder) {
@@ -39,7 +39,7 @@ function vitePlugin(isProd) {
39
39
  if (moduleIdRE.test(id)) {
40
40
  return "\0" + id;
41
41
  }
42
- return void 0;
42
+ return undefined;
43
43
  },
44
44
  load: isProd ? prodLoad : devLoad
45
45
  };
@@ -60,7 +60,7 @@ function viteManualChunks(id) {
60
60
  const name = examplesMatch[1] || examplesMatch[2];
61
61
  return `e.${name}`;
62
62
  }
63
- return void 0;
63
+ return undefined;
64
64
  }
65
65
 
66
66
  export { viteExamplesPlugin, viteManualChunks };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@md-plugins/vite-examples-plugin",
3
- "version": "0.1.0-alpha.16",
3
+ "version": "0.1.0-alpha.17",
4
4
  "description": "A Vite plugin for @md-plugins for handling imported examples in markdown files.",
5
5
  "keywords": [
6
6
  "markdown-it",