tonka-vite-plugin 1.32.7 → 1.32.8
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.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ export default function tonkaPlugin(options = {}) {
|
|
|
7
7
|
: path.resolve(root, 'public');
|
|
8
8
|
const hotFile = path.resolve(publicDir, 'hot');
|
|
9
9
|
const refreshPaths = options.refresh === true
|
|
10
|
-
? ['resources/
|
|
10
|
+
? ['resources/js/**']
|
|
11
11
|
: Array.isArray(options.refresh)
|
|
12
12
|
? options.refresh
|
|
13
13
|
: typeof options.refresh === 'string'
|
|
@@ -57,7 +57,7 @@ export default function tonkaPlugin(options = {}) {
|
|
|
57
57
|
'**/public/hot',
|
|
58
58
|
'**/node_modules/**',
|
|
59
59
|
'**/vendor/**',
|
|
60
|
-
'
|
|
60
|
+
...['ap', 'routes', 'bootstrap', 'database', 'config', 'test'].map((dir) => path.resolve(root, dir) + '/**'),
|
|
61
61
|
],
|
|
62
62
|
},
|
|
63
63
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tonka-vite-plugin",
|
|
3
|
-
"version": "1.32.
|
|
3
|
+
"version": "1.32.8",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "A Vite plugin for Inertia.js that provides automatic page imports and enhanced development experience.",
|
|
5
6
|
"main": "./dist/index.js",
|
|
6
7
|
"types": "./dist/index.d.ts",
|