mirror of
https://github.com/supabase/supabase.git
synced 2026-07-06 06:54:21 +08:00
* Change all imports in the ui package which import via the @ui shortcut. * Add a new ui-patterns package. Add it to all apps. * Migrate PrivacySettings from ui to ui-patterns. * Migrate ConsentToast from ui to ui-patterns. * Remove providers folder from ui package. * Move GlassPanel. * Migrate IconPanel. * Migrate TweetCard. * Migrate ThemeImage. * Remove LWXCountdownBanner. * Migrate CountdownWidget. * Migrate SchemaTableNode. * Migrate ExpandableVideo. * Migrate ThemeToggle. * Fix bunch of imports in the docs app. * Revert some unnecessary changes. * Expand the README.md. * Fix the tailwind configs, they were using old folder structure. * Fix leftover merge conflicts. * Remove a deleted page in master. --------- Co-authored-by: Terry Sutton <[email protected]>
22 lines
493 B
JavaScript
22 lines
493 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
transpilePackages: ['ui', 'ui-patterns'],
|
|
webpack: (config, { dev, isServer, webpack, nextRuntime }) => {
|
|
config.module.rules.push({
|
|
test: /\.node$/,
|
|
use: [
|
|
{
|
|
loader: 'nextjs-node-loader',
|
|
options: {
|
|
includeWebpackPublicPath: false,
|
|
outputPath: config.output.path,
|
|
},
|
|
},
|
|
],
|
|
})
|
|
return config
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|