Skip to content

Commit 6c288f8

Browse files
pokeytrillium
authored andcommitted
Add comment
1 parent a6664f3 commit 6c288f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/cursorless-org/next.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ const nextConfig = {
3333
use: ["@svgr/webpack"],
3434
});
3535

36+
// Set our custom condition for the bundler so that we directly use
37+
// typescript from packages in our monorepo, which makes hot-reloading
38+
// smoother. Based on
39+
// https://github.com/vercel/next.js/discussions/33813#discussioncomment-7457277
3640
config.plugins.push({
3741
apply(compiler) {
3842
compiler.hooks.afterEnvironment.tap("NextEntryPlugin", () => {

0 commit comments

Comments
 (0)