use import instead of require
This commit is contained in:
parent
03f3d65f88
commit
5f4b950149
2 changed files with 3 additions and 4 deletions
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,5 @@
|
|||
import Hashes from "jshashes";
|
||||
import _ from "lodash-es";
|
||||
|
||||
var iconv = require("iconv-lite");
|
||||
import iconv from "iconv-lite";
|
||||
|
||||
export { Hashes, _, iconv };
|
||||
|
|
Loading…
Reference in a new issue