@md-plugins/vite-examples-plugin 0.1.0-beta.8 → 0.1.0-beta.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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -7,8 +7,8 @@ let targetFolder = "";
7
7
  function devLoad(id) {
8
8
  if (id.startsWith(resolvedIdPrefix)) {
9
9
  const query = `'/src/examples/${id.substring(id.indexOf(":") + 1)}/*.vue'`;
10
- return `export const code = import.meta.glob(${query}, { eager: true })
11
- export const source = import.meta.glob(${query}, { query: '?raw', import: 'default', eager: true })`;
10
+ return `export const code = import.meta.glob(${query})
11
+ export const source = import.meta.glob(${query}, { query: '?raw', import: 'default' })`;
12
12
  }
13
13
  return void 0;
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@md-plugins/vite-examples-plugin",
3
- "version": "0.1.0-beta.8",
3
+ "version": "0.1.0-beta.9",
4
4
  "description": "A Vite plugin for @md-plugins for handling imported examples in markdown files.",
5
5
  "keywords": [
6
6
  "markdown-it",