mirror of
https://github.com/501351981/vue-office.git
synced 2025-07-05 07:11:24 +08:00
17 lines
390 B
JavaScript
17 lines
390 B
JavaScript
import { babel } from '@rollup/plugin-babel';
|
|
export default {
|
|
input: 'index.js',
|
|
output:[
|
|
{
|
|
file: 'lib/index.js',
|
|
name: 'jsPreviewPdf',
|
|
format: 'es'
|
|
},
|
|
{
|
|
file: 'lib/index.umd.js',
|
|
name: 'jsPreviewPdf',
|
|
format: 'umd'
|
|
}
|
|
],
|
|
plugins: [babel({ babelHelpers: 'bundled' })]
|
|
}; |