File tree Expand file tree Collapse file tree 3 files changed +19
-15
lines changed Expand file tree Collapse file tree 3 files changed +19
-15
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,12 @@ import { supercharge } from './plugin/plugin.js'
4
4
export default supercharge
5
5
export { supercharge }
6
6
7
- export { HotReloadFile } from './plugin/hotfile.js'
8
- export { PluginConfigContract , DevServerUrl } from './plugin/types.js'
9
-
10
- export { resolvePageComponent , InertiaPageNotFoundError } from './inertia-helpers.js'
11
7
export { Vite , ViteTagAttributes } from './backend/vite.js'
12
8
export { ViteConfig } from './backend/vite-config.js'
13
9
export { ViteServiceProvider } from './vite-service-provider.js'
10
+
11
+ export { resolvePageComponent } from './inertia/inertia-helpers.js'
12
+ export { InertiaPageNotFoundError } from './inertia/inertia-page-not-found-error.js'
13
+
14
+ export { HotReloadFile } from './plugin/hotfile.js'
15
+ export { PluginConfigContract , DevServerUrl } from './plugin/types.js'
Original file line number Diff line number Diff line change 1
1
2
- export class InertiaPageNotFoundError extends Error {
3
- /**
4
- * Create a new instance.
5
- */
6
- constructor ( path : string ) {
7
- super ( `Inertia page not found: ${ path } ` )
8
-
9
- this . name = 'PageNotFoundError'
10
- InertiaPageNotFoundError . captureStackTrace ( this , this . constructor )
11
- }
12
- }
2
+ import { InertiaPageNotFoundError } from './inertia-page-not-found-error.js'
13
3
14
4
/**
15
5
* Resolves the inertia page component for the given `path` from the available `pages`.
Original file line number Diff line number Diff line change
1
+
2
+ export class InertiaPageNotFoundError extends Error {
3
+ /**
4
+ * Create a new instance.
5
+ */
6
+ constructor ( path : string ) {
7
+ super ( `Inertia page not found: ${ path } ` )
8
+
9
+ this . name = 'InertiaPageNotFoundError'
10
+ InertiaPageNotFoundError . captureStackTrace ( this , this . constructor )
11
+ }
12
+ }
You can’t perform that action at this time.
0 commit comments