Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promote previously experimental config #1515

Merged
merged 1 commit into from
Jan 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions packages/toolpad-app/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as path from 'path';
import { withSentryConfig } from '@sentry/nextjs';
import createBundleAnalyzer from '@next/bundle-analyzer';

// Flag to be used to experiment with using experimental.transpilePackages to
// Flag to be used to experiment with using transpilePackages to
// compile monaco-editor CSS
// Current blocker: https://github.com/vercel/next.js/issues/43125
const USE_EXPERIMENTAL_TRANSPILE_PACKAGES = false;
Expand Down Expand Up @@ -110,9 +110,7 @@ const NEVER = () => false;
export default withSentryConfig(
withBundleAnalyzer(
/** @type {import('next').NextConfig & { sentry: import('@sentry/nextjs/types/config/types').UserSentryOptions }} */ ({
experimental: {
transpilePackages: USE_EXPERIMENTAL_TRANSPILE_PACKAGES ? ['monaco-editor'] : undefined,
},
transpilePackages: USE_EXPERIMENTAL_TRANSPILE_PACKAGES ? ['monaco-editor'] : undefined,
reactStrictMode: true,
poweredByHeader: false,
productionBrowserSourceMaps: true,
Expand Down
5 changes: 2 additions & 3 deletions packages/toolpad-app/prisma/schema.prisma
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
generator client {
provider = "prisma-client-js"
output = "./generated/client"
previewFeatures = ["interactiveTransactions"]
provider = "prisma-client-js"
output = "./generated/client"
}

datasource db {
Expand Down