mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
finally fixed import errors
This commit is contained in:
parent
28697e3c0e
commit
8e71ce0c50
@ -2,19 +2,22 @@
|
||||
"name": "@plane/editor",
|
||||
"version": "0.0.1",
|
||||
"description": "Rich Text Editor that powers Plane",
|
||||
"main": "dist/index.js",
|
||||
"main": "dist/index",
|
||||
"types": "dist/index",
|
||||
"source": "src/index.ts",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.mts",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.mts",
|
||||
"import": "./dist/index.mjs",
|
||||
"module": "./dist/index.mjs",
|
||||
"require": "./dist/index.js"
|
||||
"import": {
|
||||
"types": "./dist/index.d.mts",
|
||||
"default": "./dist/module.mjs"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/main.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
@ -81,12 +84,5 @@
|
||||
"markdown",
|
||||
"nextjs",
|
||||
"react"
|
||||
],
|
||||
"typesVersions": {
|
||||
"*": {
|
||||
"*": [
|
||||
"src/*"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1,12 +1,20 @@
|
||||
{
|
||||
"extends": "tsconfig/react.json",
|
||||
"include": ["."],
|
||||
"exclude": ["dist", "build", "node_modules"],
|
||||
|
||||
"include": [
|
||||
"src/**/*",
|
||||
"index.d.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"dist",
|
||||
"build",
|
||||
"node_modules"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["src/*"]
|
||||
"@/*": [
|
||||
"src/*"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ import { useDebouncedCallback } from "use-debounce";
|
||||
import { TextArea } from "components/ui";
|
||||
// types
|
||||
import { IIssue } from "types";
|
||||
import { TiptapEditor } from "@plane/editor"
|
||||
import { TiptapEditor } from "@plane/editor";
|
||||
import fileService from "services/file.service";
|
||||
|
||||
export interface IssueDescriptionFormValues {
|
||||
|
Loading…
Reference in New Issue
Block a user