@vocab/vite 0.2.0 → 0.2.1

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.
@@ -109,6 +109,7 @@ function vitePluginVocab({
109
109
  return {
110
110
  name: 'vite-plugin-vocab',
111
111
  apply: 'build',
112
+ enforce: 'pre',
112
113
  configResolved(config) {
113
114
  // Check if the build is for SSR. This plugin should not run for SSR builds.
114
115
  isSSR = Boolean(config.build.ssr);
@@ -109,6 +109,7 @@ function vitePluginVocab({
109
109
  return {
110
110
  name: 'vite-plugin-vocab',
111
111
  apply: 'build',
112
+ enforce: 'pre',
112
113
  configResolved(config) {
113
114
  // Check if the build is for SSR. This plugin should not run for SSR builds.
114
115
  isSSR = Boolean(config.build.ssr);
@@ -84,6 +84,7 @@ function vitePluginVocab({
84
84
  return {
85
85
  name: 'vite-plugin-vocab',
86
86
  apply: 'build',
87
+ enforce: 'pre',
87
88
  configResolved(config) {
88
89
  // Check if the build is for SSR. This plugin should not run for SSR builds.
89
90
  isSSR = Boolean(config.build.ssr);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vocab/vite",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "author": "SEEK",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -46,9 +46,9 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/debug": "^4.1.5",
49
- "vite": "^5.4.8"
49
+ "vite": "^6.3.5"
50
50
  },
51
51
  "peerDependencies": {
52
- "vite": "^5.4.8"
52
+ "vite": "^5.4.8 || ^6.0.0"
53
53
  }
54
54
  }