mirror of
https://github.com/VisActor/VTable
synced 2024-11-22 18:57:38 +00:00
23 lines
485 B
JavaScript
23 lines
485 B
JavaScript
/**
|
|
* @type {Partial<import('@internal/bundler').Config>}
|
|
*/
|
|
module.exports = {
|
|
formats: ['cjs', 'es'],
|
|
noEmitOnError: false,
|
|
copy: ['css'],
|
|
name: 'InulaVTable',
|
|
umdOutputFilename: 'openinula-vtable',
|
|
rollupOptions: {
|
|
treeshake: true
|
|
},
|
|
globals: {
|
|
'@visactor/vtable': 'VTable'
|
|
},
|
|
external: ['@visactor/vtable', 'openinula'],
|
|
alias: {
|
|
react: 'openinula', // 新增
|
|
'react-dom': 'openinula', // 新增
|
|
'react-is': 'openinula' // 新增
|
|
}
|
|
};
|