-
Notifications
You must be signed in to change notification settings - Fork 4
/
.replit
41 lines (31 loc) · 1.15 KB
/
.replit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
run = "pnpm dev"
hidden = [".config"]
entrypoint = "modules/example/App.tsx"
[[hints]]
regex = "Error \\[ERR_REQUIRE_ESM\\]"
message = "We see that you are using require(...) inside your code. We currently do not support this syntax. Please use 'import' instead when using external modules. (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)"
[nix]
channel = "stable-22_11"
[env]
XDG_CONFIG_HOME = "/home/runner/.config"
PATH = "/home/runner/$REPL_SLUG/.config/npm/node_global/bin:/home/runner/$REPL_SLUG/node_modules/.bin"
npm_config_prefix = "/home/runner/$REPL_SLUG/.config/npm/node_global"
[extension]
isExtension = true
buildCommand = "cd modules/dev && pnpm build"
outputDirectory = "modules/dev/dist"
extensionID = "b99141f4-09df-43de-ad74-26c5685a55d1"
[unitTest]
language = "nodejs"
[languages.javascript]
pattern = "**/{*.js,*.jsx,*.ts,*.tsx}"
[languages.javascript.languageServer]
start = [ "typescript-language-server", "--stdio" ]
[packager]
language = "nodejs"
[packager.features]
enabledForHosting = false
packageSearch = true
guessImports = false
[gitHubImport]
requiredFiles = [".replit", "replit.nix", ".config"]