Skip to content

Commit

Permalink
switch fs-exta imports to use ESM version
Browse files Browse the repository at this point in the history
  • Loading branch information
bubonicfred committed Jun 19, 2024
1 parent 0620443 commit a400b77
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions programs/postInstall.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"use strict";
import pkg from "fs-extra";
const { copySync, removeSync } = pkg;
import { copySync, removeSync } from "fs-extra/esm";

console.log("copy bootstrap fonts to the public folder");
copySync("./node_modules/bootstrap/dist/fonts", "./public/fonts");
Expand Down

0 comments on commit a400b77

Please sign in to comment.