Skip to content

Commit

Permalink
format JSON imports
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed May 3, 2024
1 parent 1812537 commit 7ff9672
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/generators/archived-libs-typings.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from "fs";
import archivedSyntaxPkgs from "./archived-syntax-pkgs.json" with { "type": "json" };
import archivedSyntaxPkgs from "./archived-syntax-pkgs.json" with { type: "json" };
const root = new URL("../..", import.meta.url);

let output = `/* This file is automatically generated by scripts/generators/archived-libs-typings.js */
Expand Down
2 changes: 1 addition & 1 deletion scripts/generators/tsconfig.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from "fs";
import archivedSyntaxPkgs from "./archived-syntax-pkgs.json" with { "type": "json" };
import archivedSyntaxPkgs from "./archived-syntax-pkgs.json" with { type: "json" };

function importJSON(path) {
return JSON.parse(fs.readFileSync(path));
Expand Down
2 changes: 1 addition & 1 deletion scripts/rollup-plugin-standalone-internals.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { fileURLToPath } from "url";
import pluginConfig from "../packages/babel-standalone/scripts/pluginConfig.json" with { "type": "json" };
import pluginConfig from "../packages/babel-standalone/scripts/pluginConfig.json" with { type: "json" };

const standaloneURL = new URL("../packages/babel-standalone/", import.meta.url);
const inStandalone = path =>
Expand Down

0 comments on commit 7ff9672

Please sign in to comment.