aboutsummaryrefslogtreecommitdiff
path: root/build.mjs
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2022-10-06 00:42:58 +0200
committerGitHub <noreply@github.com>2022-10-06 00:42:58 +0200
commit74c3930e0a5ed264f330bc32c27116ead1063c5d (patch)
treea29ba43787c8cf8bbee648b5b478a8152086f965 /build.mjs
parente563521416052808bcec57057b921f0c0b6ca594 (diff)
downloadVencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.tar.gz
Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.tar.bz2
Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.zip
add eslint config (#53)
* eslint * workflow * lint main
Diffstat (limited to 'build.mjs')
-rwxr-xr-xbuild.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.mjs b/build.mjs
index 5b0b1c0..b59ebef 100755
--- a/build.mjs
+++ b/build.mjs
@@ -13,7 +13,7 @@ const watch = process.argv.includes("--watch");
* @type {esbuild.Plugin}
*/
const makeAllPackagesExternalPlugin = {
- name: 'make-all-packages-external',
+ name: "make-all-packages-external",
setup(build) {
let filter = /^[^.\/]|^\.[^.\/]|^\.\.[^\/]/; // Must not start with "/" or "./" or "../"
build.onResolve({ filter }, args => ({ path: args.path, external: true }));