mirror of
https://github.com/vercel/commerce.git
synced 2025-03-14 14:42:31 +00:00
Testing locally it seems that `local` is what's used when there aren't any environment variables configured. I'm making this change because `live` doesn't currently support `fs` functions and therefore cannot update the `paths[@framework]` in next.config.js. This means deploying the commerce template from `vercel.com/live` generates an error instead of displaying the commerce page as would be displayed when running `npm run dev` locally.
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"target": "esnext",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"incremental": true,
|
|
"useUnknownInCatchVariables": false,
|
|
"paths": {
|
|
"@lib/*": ["lib/*"],
|
|
"@utils/*": ["utils/*"],
|
|
"@config/*": ["config/*"],
|
|
"@assets/*": ["assets/*"],
|
|
"@components/*": ["components/*"],
|
|
"@commerce": ["framework/commerce"],
|
|
"@commerce/*": ["framework/commerce/*"],
|
|
"@framework": ["framework/local"],
|
|
"@framework/*": ["framework/local/*"]
|
|
}
|
|
},
|
|
"include": ["next-env.d.ts", "**/*.d.ts", "**/*.ts", "**/*.tsx", "**/*.js"],
|
|
"exclude": [
|
|
"node_modules",
|
|
"./framework/local",
|
|
"./framework/bigcommerce",
|
|
"./framework/shopify",
|
|
"./framework/swell",
|
|
"./framework/vendure",
|
|
"./framework/saleor",
|
|
"./framework/spree",
|
|
"./framework/ordercloud",
|
|
"./framework/kibocommerce",
|
|
"./framework/commercejs"
|
|
]
|
|
}
|