Skip to content

Commit

Permalink
Don't use getDependenciesToSkip in plugin build
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaoumov committed Aug 20, 2024
1 parent 1fe7f43 commit a6e985e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/esbuild/ObsidianPluginBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { fixSourceMapsPlugin } from "./fixSourceMapsPlugin.ts";
import { copyToObsidianPluginsFolderPlugin } from "./copyToObsidianPluginsFolderPlugin.ts";
import { ObsidianPluginRepoPaths } from "../../obsidian/Plugin/ObsidianPluginRepoPaths.ts";
import { join } from "../../Path.ts";
import { getDependenciesToSkip } from "./Dependency.ts";
import builtins from "builtin-modules";

/**
* Enumeration representing the build modes.
Expand Down Expand Up @@ -113,7 +113,7 @@ export async function buildObsidianPlugin({
"@lezer/common",
"@lezer/highlight",
"@lezer/lr",
...await getDependenciesToSkip()
...builtins
],
format: "cjs",
logLevel: "info",
Expand Down

0 comments on commit a6e985e

Please sign in to comment.