fix: migrate to esm (#247)
This commit is contained in:
parent
74864a0692
commit
f35974b602
@ -1,5 +1,6 @@
|
||||
{
|
||||
"name": "zotero-plugin-template",
|
||||
"type": "module",
|
||||
"version": "3.0.3",
|
||||
"description": "Zotero Plugin Template",
|
||||
"config": {
|
||||
|
@ -1,6 +1,5 @@
|
||||
import { config } from "../package.json";
|
||||
import { ColumnOptions } from "zotero-plugin-toolkit/dist/helpers/virtualizedTable";
|
||||
import { DialogHelper } from "zotero-plugin-toolkit/dist/helpers/dialog";
|
||||
import { ColumnOptions, DialogHelper } from "zotero-plugin-toolkit";
|
||||
import hooks from "./hooks";
|
||||
import { createZToolkit } from "./utils/ztoolkit";
|
||||
|
||||
|
@ -1,12 +1,16 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"experimentalDecorators": true,
|
||||
"module": "commonjs",
|
||||
"target": "ES2016",
|
||||
"lib": ["ESNext"],
|
||||
"experimentalDecorators": true,
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "bundler",
|
||||
"resolveJsonModule": true,
|
||||
"skipDefaultLibCheck": true,
|
||||
"strict": true
|
||||
"types": ["zotero-types"],
|
||||
"strict": true,
|
||||
"outDir": "build/dist/",
|
||||
"skipLibCheck": true
|
||||
},
|
||||
"include": ["src", "typings", "node_modules/zotero-types"],
|
||||
"include": ["src", "typings"],
|
||||
"exclude": ["build", "addon"]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user