updated design
This commit is contained in:
@@ -1,10 +1,17 @@
|
|||||||
import type { NextConfig } from 'next';
|
import type { NextConfig } from 'next';
|
||||||
|
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
transpilePackages: ['@originmain/ui', '@fluentui/react-components'],
|
transpilePackages: ['@originmain/ui', '@originmain/diff-engine', '@fluentui/react-components'],
|
||||||
experimental: {
|
experimental: {
|
||||||
optimizePackageImports: ['@fluentui/react-components'],
|
optimizePackageImports: ['@fluentui/react-components'],
|
||||||
},
|
},
|
||||||
|
webpack(config) {
|
||||||
|
config.resolve.extensionAlias = {
|
||||||
|
'.js': ['.ts', '.tsx', '.js'],
|
||||||
|
'.mjs': ['.mts', '.mjs'],
|
||||||
|
};
|
||||||
|
return config;
|
||||||
|
},
|
||||||
async rewrites() {
|
async rewrites() {
|
||||||
return {
|
return {
|
||||||
beforeFiles: [
|
beforeFiles: [
|
||||||
|
|||||||
Reference in New Issue
Block a user