create-packer 1.12.2 → 1.12.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-packer",
3
- "version": "1.12.2",
3
+ "version": "1.12.3",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/kevily/create-packer",
6
6
  "author": "1k <bug_zero@163.com>",
@@ -1 +1 @@
1
- export { default as Container } from './layout.container'
1
+ export { default } from './layout.container'
@@ -1 +1 @@
1
- export { default as Container } from './home.container'
1
+ export { default } from './home.container'
@@ -1 +1 @@
1
- export { default as Container } from './notFound.container'
1
+ export { default } from './notFound.container'
@@ -1,7 +1,7 @@
1
1
  import { lazy } from 'react'
2
2
  import type { RouteObject } from 'react-router-dom'
3
3
 
4
- const Home = lazy(() => import('@/pages/home/home.container'))
4
+ const Home = lazy(() => import('@/pages/home'))
5
5
 
6
6
  const routes: RouteObject[] = [
7
7
  {
@@ -3,8 +3,8 @@ import { createBrowserRouter } from 'react-router-dom'
3
3
  import * as home from './home'
4
4
  import paths from './router.paths'
5
5
 
6
- const Layout = lazy(() => import('@/layout/layout.container'))
7
- const NotFound = lazy(() => import('@/pages/notFound/notFound.container'))
6
+ const Layout = lazy(() => import('@/layout'))
7
+ const NotFound = lazy(() => import('@/pages/notFound'))
8
8
 
9
9
  export default createBrowserRouter([
10
10
  {