@grantbii/design-system 1.0.1 → 1.0.2
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/app/layout.tsx +1 -1
- package/app/page.tsx +1 -1
- package/next.config.ts +10 -0
- package/package.json +1 -1
- /package/{core/index.ts → index.ts} +0 -0
package/app/layout.tsx
CHANGED
package/app/page.tsx
CHANGED
package/next.config.ts
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import type { NextConfig } from "next";
|
|
2
|
+
import path from "path";
|
|
2
3
|
|
|
3
4
|
const nextConfig: NextConfig = {
|
|
4
5
|
compiler: {
|
|
5
6
|
styledComponents: true,
|
|
6
7
|
},
|
|
7
8
|
devIndicators: false,
|
|
9
|
+
webpack(config) {
|
|
10
|
+
// preserve any existing aliases...
|
|
11
|
+
config.resolve.alias = {
|
|
12
|
+
...(config.resolve.alias ?? {}),
|
|
13
|
+
// map '@' → the design-system source folder
|
|
14
|
+
"@": path.resolve(__dirname, "node_modules/@grantbii/design-system/src"),
|
|
15
|
+
};
|
|
16
|
+
return config;
|
|
17
|
+
},
|
|
8
18
|
};
|
|
9
19
|
|
|
10
20
|
export default nextConfig;
|
package/package.json
CHANGED
|
File without changes
|