diff options
author | 2023-03-06 19:57:16 +0100 | |
---|---|---|
committer | 2023-03-06 13:57:16 -0500 | |
commit | afbbc4d5bfafc1779bac00b41c2a1cb1c90f2808 (patch) | |
tree | ed5d71078fe08217272ff3a33a48d3cc31c78ac7 /scripts/cmd/build.js | |
parent | 18acae3edca702c418fcaf39b177555f5ea10017 (diff) | |
download | astro-afbbc4d5bfafc1779bac00b41c2a1cb1c90f2808.tar.gz astro-afbbc4d5bfafc1779bac00b41c2a1cb1c90f2808.tar.zst astro-afbbc4d5bfafc1779bac00b41c2a1cb1c90f2808.zip |
Update compilation target for Node 16 (#6213)
* config(esbuild): Update esbuild target to node16
* config(package): Update root package.json node engine
* config(tsconfig): Update all the tsconfigs module and targets
* chore: changeset
* chore: remove unneeded file
Diffstat (limited to 'scripts/cmd/build.js')
-rw-r--r-- | scripts/cmd/build.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/cmd/build.js b/scripts/cmd/build.js index 599d22d93..dee636b17 100644 --- a/scripts/cmd/build.js +++ b/scripts/cmd/build.js @@ -1,9 +1,9 @@ -import esbuild from 'esbuild'; -import svelte from '../utils/svelte-plugin.js'; import { deleteAsync } from 'del'; +import esbuild from 'esbuild'; import { promises as fs } from 'fs'; import { dim, green, red, yellow } from 'kleur/colors'; import glob from 'tiny-glob'; +import svelte from '../utils/svelte-plugin.js'; import prebuild from './prebuild.js'; /** @type {import('esbuild').BuildOptions} */ @@ -11,7 +11,7 @@ const defaultConfig = { minify: false, format: 'esm', platform: 'node', - target: 'node14', + target: 'node16', sourcemap: false, sourcesContent: false, }; |