feat(signing): 将签署占位符改为原子节点并支持多选选项组
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import { fileURLToPath, URL } from 'node:url'
|
||||
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
/**
|
||||
* 只给 .probe-field-node 用的最小构建配置。
|
||||
* 不引 vue 插件(探针是纯 TS),但要复用应用的 @ 别名,
|
||||
* 否则 signing-field-node.ts 里的 `@/api/workbench/types` 解析不了。
|
||||
*/
|
||||
export default defineConfig({
|
||||
root: fileURLToPath(new URL('.', import.meta.url)),
|
||||
base: './',
|
||||
build: {
|
||||
outDir: 'dist',
|
||||
// 不自动清空:清空会触发沙箱对删除操作的拦截,而且产物本来就带 hash、覆盖即可
|
||||
emptyOutDir: false,
|
||||
rollupOptions: {
|
||||
input: fileURLToPath(new URL('./index.html', import.meta.url)),
|
||||
},
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('../src', import.meta.url)),
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user