fix: re add module property (#16)

* Fix typo

* Fix require

* Remove deprecated nextjs

* Update package.json

* Update package.json
This commit is contained in:
Lőrik Levente
2021-07-06 15:36:25 +08:00
committed by GitHub
parent be1f6a980b
commit 4161b77272
+1
View File
@@ -3,6 +3,7 @@
"version": "0.2.0",
"description": "Tool for decoding qrcode",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"sideEffects": false,
"scripts": {
"build": "ts-node -P scripts/tsconfig.json scripts/bundle.ts umd,esm,aio && npm run copy-file",