mirror of
https://github.com/Powerful-517/yys-editor.git
synced 2026-03-05 15:05:27 +00:00
fix: externalize classnames to fix import issues
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "yys-editor",
|
"name": "yys-editor",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "阴阳师流程图编辑器 - 可嵌入式组件",
|
"description": "阴阳师流程图编辑器 - 可嵌入式组件",
|
||||||
"author": "yys-editor team",
|
"author": "yys-editor team",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -17,7 +17,12 @@
|
|||||||
"./style.css": "./dist/yys-editor.css"
|
"./style.css": "./dist/yys-editor.css"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist/yys-editor.css",
|
||||||
|
"dist/yys-editor.es.js",
|
||||||
|
"dist/yys-editor.es.js.map",
|
||||||
|
"dist/yys-editor.umd.js",
|
||||||
|
"dist/yys-editor.umd.js.map",
|
||||||
|
"dist/YysEditorEmbed.d.ts"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -42,7 +42,8 @@ export default defineConfig({
|
|||||||
'vue3-draggable-resizable',
|
'vue3-draggable-resizable',
|
||||||
'vuedraggable',
|
'vuedraggable',
|
||||||
'html2canvas',
|
'html2canvas',
|
||||||
'vue-i18n'
|
'vue-i18n',
|
||||||
|
'classnames'
|
||||||
],
|
],
|
||||||
output: {
|
output: {
|
||||||
// 全局变量名
|
// 全局变量名
|
||||||
|
|||||||
Reference in New Issue
Block a user