diff options
Diffstat (limited to 'esbuild.mjs')
-rwxr-xr-x | esbuild.mjs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/esbuild.mjs b/esbuild.mjs index b29f15621..8aa500f23 100755 --- a/esbuild.mjs +++ b/esbuild.mjs | |||
@@ -1,15 +1,15 @@ | |||
1 | #!/usr/bin/env node | 1 | #!/usr/bin/env node |
2 | import * as fs from 'node:fs'; | ||
3 | import { performance } from 'node:perf_hooks'; | ||
4 | import chalk from 'chalk'; | ||
2 | import * as esbuild from 'esbuild'; | 5 | import * as esbuild from 'esbuild'; |
3 | import { sassPlugin } from 'esbuild-sass-plugin'; | ||
4 | import { copy } from 'esbuild-plugin-copy'; | 6 | import { copy } from 'esbuild-plugin-copy'; |
5 | import glob from 'tiny-glob'; | 7 | import { sassPlugin } from 'esbuild-sass-plugin'; |
6 | import livereload from 'gulp-livereload'; | ||
7 | import * as fs from 'node:fs'; | ||
8 | import * as buildInfo from 'preval-build-info'; | ||
9 | import fsPkg from 'fs-extra'; | 8 | import fsPkg from 'fs-extra'; |
10 | import chalk from 'chalk'; | 9 | import livereload from 'gulp-livereload'; |
11 | import { performance } from 'node:perf_hooks'; | ||
12 | import moment from 'moment'; | 10 | import moment from 'moment'; |
11 | import * as buildInfo from 'preval-build-info'; | ||
12 | import glob from 'tiny-glob'; | ||
13 | 13 | ||
14 | const { log } = console; | 14 | const { log } = console; |
15 | 15 | ||
@@ -140,4 +140,4 @@ const runEsbuild = async () => { | |||
140 | } | 140 | } |
141 | }; | 141 | }; |
142 | 142 | ||
143 | runEsbuild(); | 143 | await runEsbuild(); |