Add mte to the Markdown editor to enhance table editing, e.g. https://susisu.github.io/mte-demo/ (#1)

Signed-off-by: Seanly Liu <seanly@opsbox.dev>
This commit is contained in:
Ys Liu
2023-06-30 23:30:43 +08:00
committed by GitHub
parent 452577ca3d
commit d7547a85df
8 changed files with 10976 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
// webpack.config.js
const path = require('path');
module.exports = {
entry: './src/main.js', // 库的入口文件
output: {
path: path.resolve(__dirname, 'dist'), // 输出目录
filename: 'index.js', // 输出文件名称
library: 'TableEditor', // 库的全局变量名
libraryTarget: 'umd', // 输出库的目标格式
umdNamedDefine: true // 对UMD模块进行命名定义
},
// 配置其他选项...
};