Skip to content

Commit

Permalink
fix: replace assert import attribute with with keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
Sv443 committed Oct 24, 2024
1 parent 9275eee commit 271bee7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/tools/post-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { exec } from "child_process";
import dotenv from "dotenv";

import { output as webpackCfgOutput } from "../../webpack.config.js";
import pkg from "../../package.json" assert { type: "json" };
import deps from "../../dependencies.json" assert { type: "json" };
import pkg from "../../package.json" with { type: "json" };
import deps from "../../dependencies.json" with { type: "json" };

const { env, exit } = process;
dotenv.config();
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { resolve } from "path";
import MiniCssExtractPlugin from "mini-css-extract-plugin";
import CssMinimizerPlugin from "css-minimizer-webpack-plugin";

import pkg from "./package.json" assert { type: "json" };
import deps from "./dependencies.json" assert { type: "json" };
import pkg from "./package.json" with { type: "json" };
import deps from "./dependencies.json" with { type: "json" };

dotenv.config();

Expand Down

0 comments on commit 271bee7

Please sign in to comment.