Skip to content

Commit

Permalink
feat: add jsv2 imports to ignoredModules (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiin authored Jun 5, 2024
1 parent 1462cba commit c5ada92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/src/runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void JSBytecodeRuntime::ProcessClientFile(alt::IResource* resource, alt::IPackag

Config::Value::ValuePtr config = resource->GetConfig();
// Get ignored files
std::vector<std::string> ignoredModules = { "alt", "alt-client", "natives", "alt-worker", "alt-shared" };
std::vector<std::string> 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())
{
Expand Down

0 comments on commit c5ada92

Please sign in to comment.