Skip to content

Commit 5c953a2

Browse files
Merge pull request #1976 from NullVoxPopuli/add-comment-about-warp-drive
Add comment about warp-drive
2 parents d1604e2 + a5ba3fc commit 5c953a2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/ember-repl/src/services/known-modules.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,15 @@ const emberCompilationModules = {
7474
// I *could* actually implement this
7575
dependencySatisfies: () => true,
7676
isDevelopingApp: () => true,
77+
// Trying to use warp-drive in a REPL environment may be impossible, since they
78+
// encourage choosing your own adventure without a buildless recommended path.
79+
// The use of nested configs (specifically env) is also problematic for
80+
// "falling back to false" as what all other macros-using libraries use.
81+
// (many of us have seen "Cannot access DEBUG on undefined" in build errors)
82+
// Even with this config, I have not successfully been able to use warp-drive
83+
// in any of my REPL-based projects.
84+
//
85+
// (Its also perfectly fine for warp-drive to decide they don't care about the same things I do)
7786
getGlobalConfig: () => ({
7887
WarpDrive: {
7988
debug: false,

0 commit comments

Comments
 (0)