mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-03-13 14:14:40 +08:00
18 lines
323 B
JavaScript
18 lines
323 B
JavaScript
// import babel from '@rollup/plugin-babel';
|
|
import commonjs from '@rollup/plugin-commonjs';
|
|
import typescript from '@rollup/plugin-typescript';
|
|
|
|
export default {
|
|
input: 'src/index.ts',
|
|
plugins: [
|
|
commonjs(),
|
|
typescript(),
|
|
],
|
|
output: [
|
|
{
|
|
file: 'dist/index.js',
|
|
format: 'cjs',
|
|
},
|
|
],
|
|
};
|