Skip to content

Commit

Permalink
build: Switch from Import Assertions to Import Attributes (#273)
Browse files Browse the repository at this point in the history
Node.js v20.10.0 にて Import attributes に変更されました
see: https://nodejs.org/docs/v20.12.0/api/esm.html#import-attributes
  • Loading branch information
Mogyuchi authored Mar 28, 2024
1 parent 09b4b5e commit 3c69e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { build } from "esbuild";
import { esbuildPluginVersionInjector } from "esbuild-plugin-version-injector";
import packageJson from "./package.json" assert { type: "json" };
import packageJson from "./package.json" with { type: "json" };

await build({
entryPoints: [
Expand Down

0 comments on commit 3c69e4e

Please sign in to comment.