Skip to content

Commit

Permalink
chore: Unify build.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3 committed Sep 5, 2024
1 parent c807825 commit a5c9649
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions esbuild/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
import {build} from 'esbuild';
import {sassPlugin} from 'esbuild-sass-plugin';

import tsConfig from '../tsconfig.json' assert {type: 'json'};
import tsconfigJson from '../tsconfig.json' assert {type: 'json'};

const outDir = 'build/';
const outDir = 'build';

/** @type {import('esbuild').BuildOptions}*/
const common = {
bundle: true,
sourcemap: true,
target: tsConfig.compilerOptions.target,
target: tsconfigJson.compilerOptions.target,
tsconfig: './tsconfig.json',
};

Expand Down

0 comments on commit a5c9649

Please sign in to comment.