From be3c861d15d3cf2fc2552c06dad07306ca5dd7d7 Mon Sep 17 00:00:00 2001 From: Mqx <62719703+Mqxx@users.noreply.github.com> Date: Thu, 29 Aug 2024 08:11:45 +0200 Subject: [PATCH] Update build.ts --- config/build.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/build.ts b/config/build.ts index 5fbf964..98d70ff 100644 --- a/config/build.ts +++ b/config/build.ts @@ -4,6 +4,7 @@ import * as esbuild from 'https://deno.land/x/esbuild@v0.20.2/mod.js'; import { sassPlugin } from 'npm:esbuild-sass-plugin@2.16.1' import { green } from 'https://deno.land/std@0.211.0/fmt/colors.ts'; import { parseArgs } from 'https://deno.land/std@0.211.0/cli/parse_args.ts'; +import denoJson from '../deno.json' with {type: 'json'} const args = parseArgs<{ watch: boolean | undefined, @@ -54,6 +55,7 @@ const filesConfig : esbuild.BuildOptions = { plugins: [ sassPlugin() ], + alias: denoJson.imports } console.log('Build process started.');