rollup的配置文件里添加处理typescript的插件import { defineConfig } from 'rollup' import typescript from '@rollup/plugin-typescript' export default defineConfig({ input: "./src/run.ts", output: { format: 'umd', name: 'Test', dir: 'output' }, plugins: [ typescript() ] })
rollup的配置文件里添加处理typescript的插件