el-table-virtual-scroll
Version:
The virtual scrolling component developed based on the Table component of Element-UI supports dynamic height and solves the problem of scrolling stuck when the amount of data is large.
19 lines (15 loc) • 379 B
JavaScript
import base from './rollup.config.base'
import { terser } from 'rollup-plugin-terser'
const config = Object.assign({}, base, {
output: {
format: 'iife',
file: './dist/el-table-virtual-scroll.min.js',
name: 'ElTableVirtualScroll',
sourcemap: false,
globals: {
'element-ui': 'ELEMENT'
}
}
})
config.plugins.push(terser())
export default config