Skip to content

Commit 11c4921

Browse files
committed
revert some changes
1 parent 4cdf8a7 commit 11c4921

File tree

60 files changed

+179
-179
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+179
-179
lines changed

examples/01-basic/01-minimal/vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ export default defineConfig((conf) => ({
1414
resolve: {
1515
alias:
1616
conf.command === "build" ||
17-
!fs.existsSync(path.resolve(__dirname, "../../../packages/core/src"))
17+
!fs.existsSync(path.resolve(__dirname, "../../packages/core/src"))
1818
? {}
1919
: ({
2020
// Comment out the lines below to load a built version of blocknote
2121
// or, keep as is to load live from sources with live reload working
2222
"@blocknote/core": path.resolve(
2323
__dirname,
24-
"../../../packages/core/src/"
24+
"../../packages/core/src/"
2525
),
2626
"@blocknote/react": path.resolve(
2727
__dirname,
28-
"../../../packages/react/src/"
28+
"../../packages/react/src/"
2929
),
3030
} as any),
3131
},

examples/01-basic/02-block-objects/vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ export default defineConfig((conf) => ({
1414
resolve: {
1515
alias:
1616
conf.command === "build" ||
17-
!fs.existsSync(path.resolve(__dirname, "../../../packages/core/src"))
17+
!fs.existsSync(path.resolve(__dirname, "../../packages/core/src"))
1818
? {}
1919
: ({
2020
// Comment out the lines below to load a built version of blocknote
2121
// or, keep as is to load live from sources with live reload working
2222
"@blocknote/core": path.resolve(
2323
__dirname,
24-
"../../../packages/core/src/"
24+
"../../packages/core/src/"
2525
),
2626
"@blocknote/react": path.resolve(
2727
__dirname,
28-
"../../../packages/react/src/"
28+
"../../packages/react/src/"
2929
),
3030
} as any),
3131
},

examples/01-basic/03-multi-column/vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ export default defineConfig((conf) => ({
1414
resolve: {
1515
alias:
1616
conf.command === "build" ||
17-
!fs.existsSync(path.resolve(__dirname, "../../../packages/core/src"))
17+
!fs.existsSync(path.resolve(__dirname, "../../packages/core/src"))
1818
? {}
1919
: ({
2020
// Comment out the lines below to load a built version of blocknote
2121
// or, keep as is to load live from sources with live reload working
2222
"@blocknote/core": path.resolve(
2323
__dirname,
24-
"../../../packages/core/src/"
24+
"../../packages/core/src/"
2525
),
2626
"@blocknote/react": path.resolve(
2727
__dirname,
28-
"../../../packages/react/src/"
28+
"../../packages/react/src/"
2929
),
3030
} as any),
3131
},

examples/01-basic/04-default-blocks/vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ export default defineConfig((conf) => ({
1414
resolve: {
1515
alias:
1616
conf.command === "build" ||
17-
!fs.existsSync(path.resolve(__dirname, "../../../packages/core/src"))
17+
!fs.existsSync(path.resolve(__dirname, "../../packages/core/src"))
1818
? {}
1919
: ({
2020
// Comment out the lines below to load a built version of blocknote
2121
// or, keep as is to load live from sources with live reload working
2222
"@blocknote/core": path.resolve(
2323
__dirname,
24-
"../../../packages/core/src/"
24+
"../../packages/core/src/"
2525
),
2626
"@blocknote/react": path.resolve(
2727
__dirname,
28-
"../../../packages/react/src/"
28+
"../../packages/react/src/"
2929
),
3030
} as any),
3131
},

examples/01-basic/05-removing-default-blocks/vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ export default defineConfig((conf) => ({
1414
resolve: {
1515
alias:
1616
conf.command === "build" ||
17-
!fs.existsSync(path.resolve(__dirname, "../../../packages/core/src"))
17+
!fs.existsSync(path.resolve(__dirname, "../../packages/core/src"))
1818
? {}
1919
: ({
2020
// Comment out the lines below to load a built version of blocknote
2121
// or, keep as is to load live from sources with live reload working
2222
"@blocknote/core": path.resolve(
2323
__dirname,
24-
"../../../packages/core/src/"
24+
"../../packages/core/src/"
2525
),
2626
"@blocknote/react": path.resolve(
2727
__dirname,
28-
"../../../packages/react/src/"
28+
"../../packages/react/src/"
2929
),
3030
} as any),
3131
},

examples/01-basic/06-block-manipulation/vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ export default defineConfig((conf) => ({
1414
resolve: {
1515
alias:
1616
conf.command === "build" ||
17-
!fs.existsSync(path.resolve(__dirname, "../../../packages/core/src"))
17+
!fs.existsSync(path.resolve(__dirname, "../../packages/core/src"))
1818
? {}
1919
: ({
2020
// Comment out the lines below to load a built version of blocknote
2121
// or, keep as is to load live from sources with live reload working
2222
"@blocknote/core": path.resolve(
2323
__dirname,
24-
"../../../packages/core/src/"
24+
"../../packages/core/src/"
2525
),
2626
"@blocknote/react": path.resolve(
2727
__dirname,
28-
"../../../packages/react/src/"
28+
"../../packages/react/src/"
2929
),
3030
} as any),
3131
},

examples/01-basic/07-selection-blocks/vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ export default defineConfig((conf) => ({
1414
resolve: {
1515
alias:
1616
conf.command === "build" ||
17-
!fs.existsSync(path.resolve(__dirname, "../../../packages/core/src"))
17+
!fs.existsSync(path.resolve(__dirname, "../../packages/core/src"))
1818
? {}
1919
: ({
2020
// Comment out the lines below to load a built version of blocknote
2121
// or, keep as is to load live from sources with live reload working
2222
"@blocknote/core": path.resolve(
2323
__dirname,
24-
"../../../packages/core/src/"
24+
"../../packages/core/src/"
2525
),
2626
"@blocknote/react": path.resolve(
2727
__dirname,
28-
"../../../packages/react/src/"
28+
"../../packages/react/src/"
2929
),
3030
} as any),
3131
},

examples/01-basic/08-ariakit/vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ export default defineConfig((conf) => ({
1414
resolve: {
1515
alias:
1616
conf.command === "build" ||
17-
!fs.existsSync(path.resolve(__dirname, "../../../packages/core/src"))
17+
!fs.existsSync(path.resolve(__dirname, "../../packages/core/src"))
1818
? {}
1919
: ({
2020
// Comment out the lines below to load a built version of blocknote
2121
// or, keep as is to load live from sources with live reload working
2222
"@blocknote/core": path.resolve(
2323
__dirname,
24-
"../../../packages/core/src/"
24+
"../../packages/core/src/"
2525
),
2626
"@blocknote/react": path.resolve(
2727
__dirname,
28-
"../../../packages/react/src/"
28+
"../../packages/react/src/"
2929
),
3030
} as any),
3131
},

examples/01-basic/09-shadcn/vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ export default defineConfig((conf) => ({
1414
resolve: {
1515
alias:
1616
conf.command === "build" ||
17-
!fs.existsSync(path.resolve(__dirname, "../../../packages/core/src"))
17+
!fs.existsSync(path.resolve(__dirname, "../../packages/core/src"))
1818
? {}
1919
: ({
2020
// Comment out the lines below to load a built version of blocknote
2121
// or, keep as is to load live from sources with live reload working
2222
"@blocknote/core": path.resolve(
2323
__dirname,
24-
"../../../packages/core/src/"
24+
"../../packages/core/src/"
2525
),
2626
"@blocknote/react": path.resolve(
2727
__dirname,
28-
"../../../packages/react/src/"
28+
"../../packages/react/src/"
2929
),
3030
} as any),
3131
},

examples/01-basic/10-localization/vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ export default defineConfig((conf) => ({
1414
resolve: {
1515
alias:
1616
conf.command === "build" ||
17-
!fs.existsSync(path.resolve(__dirname, "../../../packages/core/src"))
17+
!fs.existsSync(path.resolve(__dirname, "../../packages/core/src"))
1818
? {}
1919
: ({
2020
// Comment out the lines below to load a built version of blocknote
2121
// or, keep as is to load live from sources with live reload working
2222
"@blocknote/core": path.resolve(
2323
__dirname,
24-
"../../../packages/core/src/"
24+
"../../packages/core/src/"
2525
),
2626
"@blocknote/react": path.resolve(
2727
__dirname,
28-
"../../../packages/react/src/"
28+
"../../packages/react/src/"
2929
),
3030
} as any),
3131
},

0 commit comments

Comments
 (0)