From c5ada92c06fda54042f5915fb304ebf74ec36be1 Mon Sep 17 00:00:00 2001 From: Yiin Date: Wed, 5 Jun 2024 10:22:14 +0300 Subject: [PATCH] feat: add jsv2 imports to ignoredModules (#12) --- module/src/runtime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/src/runtime.cpp b/module/src/runtime.cpp index 8113453..f481a0e 100644 --- a/module/src/runtime.cpp +++ b/module/src/runtime.cpp @@ -29,7 +29,7 @@ void JSBytecodeRuntime::ProcessClientFile(alt::IResource* resource, alt::IPackag Config::Value::ValuePtr config = resource->GetConfig(); // Get ignored files - std::vector ignoredModules = { "alt", "alt-client", "natives", "alt-worker", "alt-shared" }; + std::vector ignoredModules = { "alt", "alt-client", "natives", "alt-worker", "alt-shared", "@altv/client", "@altv/server", "@altv/shared", "@altv/natives" }; Config::Value::ValuePtr ignoredFiles = config->Get("ignored-files"); if(ignoredFiles->IsList()) {