chore: remove yjs resolve (#5301)
This commit is contained in:
parent
42462c78f7
commit
dd806dfa2f
1 changed files with 8 additions and 8 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||||
/** @type {import("next").NextConfig} */
|
/** @type {import("next").NextConfig} */
|
||||||
require("dotenv").config({ path: ".env" });
|
require("dotenv").config({ path: ".env" });
|
||||||
const path = require("path");
|
// const path = require("path");
|
||||||
|
|
||||||
const { withSentryConfig } = require("@sentry/nextjs");
|
const { withSentryConfig } = require("@sentry/nextjs");
|
||||||
const withPWA = require("next-pwa")({
|
const withPWA = require("next-pwa")({
|
||||||
|
|
@ -37,13 +37,13 @@ const nextConfig = {
|
||||||
],
|
],
|
||||||
unoptimized: true,
|
unoptimized: true,
|
||||||
},
|
},
|
||||||
webpack: (config, { isServer }) => {
|
// webpack: (config, { isServer }) => {
|
||||||
if (!isServer) {
|
// if (!isServer) {
|
||||||
// Ensure that all imports of 'yjs' resolve to the same instance
|
// // Ensure that all imports of 'yjs' resolve to the same instance
|
||||||
config.resolve.alias["yjs"] = path.resolve(__dirname, "node_modules/yjs");
|
// config.resolve.alias["yjs"] = path.resolve(__dirname, "node_modules/yjs");
|
||||||
}
|
// }
|
||||||
return config;
|
// return config;
|
||||||
},
|
// },
|
||||||
async redirects() {
|
async redirects() {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue