Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/packwiz/mod.ts>Pack#remove

Deno wrapper around packwiz CLI
Latest
method Pack.prototype.remove
import { Pack } from "https://deno.land/x/packwiz@0.1.0/mod.ts";

Examples

pack.remove("quark") // remove mods/quark.pw.toml

pack.remove("kubejs/client_scripts/foo.js")

Parameters

slugOrFilePath: string

A metafile slug, or the filepath of a non-metafile. Refer to pack.metaFiles and pack.otherFiles for valid inputs.