fixed import
parent
c9824a10e0
commit
a8d98697b8
|
@ -5,7 +5,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import fs from 'fs'
|
import fs from 'fs'
|
||||||
import Helper from './lib/helper.es7'
|
import Helper from './lib/helper.mjs'
|
||||||
|
|
||||||
var __stamp__ = ''
|
var __stamp__ = ''
|
||||||
var __inc__ = 1024
|
var __inc__ = 1024
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "crypto.js",
|
"name": "crypto.js",
|
||||||
"version": "2.0.0",
|
"version": "2.0.1",
|
||||||
"description": "原生crypto加密模块的二次封装,简化常用加密函数的使用",
|
"description": "原生crypto加密模块的二次封装,简化常用加密函数的使用",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"md5",
|
"md5",
|
||||||
|
@ -21,5 +21,8 @@
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"module": "index.es.js"
|
"exports": {
|
||||||
|
"require": "./index.js",
|
||||||
|
"import": "./index.mjs"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue