v1.0.0 #2
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "timi-tdesign-mobile",
|
"name": "timi-tdesign-mobile",
|
||||||
"main": "./dist/timi-tdesign-mobile.umd.js",
|
"main": "./dist/timi-tdesign-mobile.umd.js",
|
||||||
"types": "./dist/timi-tdesign-mobile/src/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"module": "./dist/timi-tdesign-mobile.mjs",
|
"module": "./dist/timi-tdesign-mobile.mjs",
|
||||||
"style": "./dist/timi-tdesign-mobile.css",
|
"style": "./dist/timi-tdesign-mobile.css",
|
||||||
"private": false,
|
"private": false,
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
],
|
],
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"types": "./dist/timi-tdesign-mobile/src/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"import": "./dist/timi-tdesign-mobile.mjs",
|
"import": "./dist/timi-tdesign-mobile.mjs",
|
||||||
"require": "./dist/timi-tdesign-mobile.umd.js"
|
"require": "./dist/timi-tdesign-mobile.umd.js"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ import type {
|
|||||||
AttachmentSelectorViewerItem
|
AttachmentSelectorViewerItem
|
||||||
} from "./types";
|
} from "./types";
|
||||||
import { getMediaKind, getMediaPreviewURL } from "./utils";
|
import { getMediaKind, getMediaPreviewURL } from "./utils";
|
||||||
import { CenterTips } from "../../../../timi-web";
|
import { CenterTips } from "timi-web";
|
||||||
|
|
||||||
defineOptions({
|
defineOptions({
|
||||||
name: "AttachmentSelector",
|
name: "AttachmentSelector",
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ import "./assets/style/entrance-transition.less";
|
|||||||
import "./assets/style/page-layout.less";
|
import "./assets/style/page-layout.less";
|
||||||
import "./components/tiptap-content.less";
|
import "./components/tiptap-content.less";
|
||||||
import "timi-web/style.css";
|
import "timi-web/style.css";
|
||||||
import "../../timi-web/src/components/prism-code-block.less";
|
|
||||||
|
|
||||||
export * from "./components";
|
export * from "./components";
|
||||||
export * from "./directives";
|
export * from "./directives";
|
||||||
|
|||||||
+1
-4
@@ -2,7 +2,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"moduleResolution": "Node",
|
"moduleResolution": "Bundler",
|
||||||
"useDefineForClassFields": true,
|
"useDefineForClassFields": true,
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
@@ -17,9 +17,6 @@
|
|||||||
"DOM.Iterable"
|
"DOM.Iterable"
|
||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"timi-web/editor": [
|
|
||||||
"../timi-web/src/editor/index.ts"
|
|
||||||
],
|
|
||||||
"timi-tdesign-mobile": [
|
"timi-tdesign-mobile": [
|
||||||
"./src/index.ts"
|
"./src/index.ts"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -7,10 +7,6 @@ import { TDesignResolver } from "unplugin-vue-components/resolvers";
|
|||||||
import dts from "vite-plugin-dts";
|
import dts from "vite-plugin-dts";
|
||||||
|
|
||||||
const alias: Alias[] = [
|
const alias: Alias[] = [
|
||||||
{
|
|
||||||
find: /^timi-web\/editor$/,
|
|
||||||
replacement: resolve(__dirname, "../timi-web/src/editor/index.ts")
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
find: /^timi-tdesign-mobile(\/(es|lib))?$/,
|
find: /^timi-tdesign-mobile(\/(es|lib))?$/,
|
||||||
replacement: resolve(__dirname, "./src/index.ts")
|
replacement: resolve(__dirname, "./src/index.ts")
|
||||||
|
|||||||
Reference in New Issue
Block a user