mirror of
https://github.com/VisActor/VTable
synced 2024-11-23 03:45:41 +00:00
21 lines
449 B
JavaScript
21 lines
449 B
JavaScript
|
/**
|
||
|
* @type {Partial<import('@internal/bundler').Config>}
|
||
|
*/
|
||
|
const resolve = require('rollup-plugin-node-resolve');
|
||
|
|
||
|
module.exports = {
|
||
|
formats: ['cjs', 'es', 'umd'],
|
||
|
noEmitOnError: false,
|
||
|
copy: ['css'],
|
||
|
name: 'VTable.export',
|
||
|
umdOutputFilename: 'vtable-export',
|
||
|
rollupOptions: {
|
||
|
treeshake: true,
|
||
|
plugins: [resolve({ browser: true })]
|
||
|
},
|
||
|
globals: {
|
||
|
'@visactor/vtable': 'VTable'
|
||
|
},
|
||
|
external: ['@visactor/vtable']
|
||
|
};
|