Skip to content

Commit

Permalink
fix next config
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoLuglio committed Sep 28, 2024
1 parent 8ab707a commit a3aa4ec
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
/** @type {import('next').NextConfig} */
import importMetaUrlPlugin from '@codingame/esbuild-import-meta-url-plugin'
import { bundlerModuleNameResolver } from 'typescript'

const nextConfig = {
experimental: {
turbo: {
// resolveAlias: {
// 'monaco-editor': 'monaco-editor/esm/vs/editor/editor.api',
// },

resolve: {
plugins: [bundlerModuleNameResolver],
resolveAlias: {
'monaco-editor': 'monaco-editor/esm/vs/editor/editor.api',
},
},
},
Expand Down

0 comments on commit a3aa4ec

Please sign in to comment.