@akanjs/config 0.0.149 → 0.0.151
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/cjs/src/akanConfig.js +1 -0
- package/cjs/src/nextConfig.js +3 -2
- package/esm/src/akanConfig.js +1 -0
- package/esm/src/nextConfig.js +3 -2
- package/package.json +1 -1
- package/styles.css +1 -1
package/cjs/src/akanConfig.js
CHANGED
package/cjs/src/nextConfig.js
CHANGED
|
@@ -71,7 +71,7 @@ const withBase = (appName, config, libs, routes = []) => {
|
|
|
71
71
|
eslint: { ...config.eslint, ignoreDuringBuilds: true },
|
|
72
72
|
env: {
|
|
73
73
|
...config.env,
|
|
74
|
-
basePaths: routes.map(({ basePath }) => basePath).join(",")
|
|
74
|
+
basePaths: [...new Set(routes.map(({ basePath }) => basePath))].join(",")
|
|
75
75
|
},
|
|
76
76
|
transpilePackages: ["swiper", "ssr-window", "dom7"],
|
|
77
77
|
reactStrictMode: commandType === "start" ? false : true,
|
|
@@ -81,7 +81,8 @@ const withBase = (appName, config, libs, routes = []) => {
|
|
|
81
81
|
...[appName, ...libs].map((lib) => [`@${lib}/ui`, `@${lib}/next`, `@${lib}/common`, `@${lib}/client`]).flat(),
|
|
82
82
|
"@contract",
|
|
83
83
|
"@akanjs/next",
|
|
84
|
-
"@akanjs/common"
|
|
84
|
+
"@akanjs/common",
|
|
85
|
+
"@akanjs/ui"
|
|
85
86
|
]
|
|
86
87
|
},
|
|
87
88
|
// modularizeImports: {
|
package/esm/src/akanConfig.js
CHANGED
package/esm/src/nextConfig.js
CHANGED
|
@@ -37,7 +37,7 @@ const withBase = (appName, config, libs, routes = []) => {
|
|
|
37
37
|
eslint: { ...config.eslint, ignoreDuringBuilds: true },
|
|
38
38
|
env: {
|
|
39
39
|
...config.env,
|
|
40
|
-
basePaths: routes.map(({ basePath }) => basePath).join(",")
|
|
40
|
+
basePaths: [...new Set(routes.map(({ basePath }) => basePath))].join(",")
|
|
41
41
|
},
|
|
42
42
|
transpilePackages: ["swiper", "ssr-window", "dom7"],
|
|
43
43
|
reactStrictMode: commandType === "start" ? false : true,
|
|
@@ -47,7 +47,8 @@ const withBase = (appName, config, libs, routes = []) => {
|
|
|
47
47
|
...[appName, ...libs].map((lib) => [`@${lib}/ui`, `@${lib}/next`, `@${lib}/common`, `@${lib}/client`]).flat(),
|
|
48
48
|
"@contract",
|
|
49
49
|
"@akanjs/next",
|
|
50
|
-
"@akanjs/common"
|
|
50
|
+
"@akanjs/common",
|
|
51
|
+
"@akanjs/ui"
|
|
51
52
|
]
|
|
52
53
|
},
|
|
53
54
|
// modularizeImports: {
|
package/package.json
CHANGED
package/styles.css
CHANGED
|
@@ -549,7 +549,7 @@ a {
|
|
|
549
549
|
--animate-flash: flash 1s linear infinite;
|
|
550
550
|
--animate-spin: spin 1s linear infinite;
|
|
551
551
|
--animate-backdrop-blur: backdrop-blur-sm 2s ease-in-out forwards;
|
|
552
|
-
--animate-pop: pop 0.
|
|
552
|
+
--animate-pop: pop 0.5s ease-in-out forwards;
|
|
553
553
|
--animate-shrink: shrink 0.15s ease-in-out forwards;
|
|
554
554
|
--animate-menuOpen: menuOpen 0.3s ease-in-out forwards;
|
|
555
555
|
--animate-menuClose: menuClose 0.3s ease-in-out forwards;
|