Open temberature opened 5 years ago
// rollup.config.js import typescript from 'rollup-plugin-typescript'; export default { input: './src/main.ts', output: { file: 'bundle.js', format: 'cjs' }, plugins: [ typescript() ] }
ts 能包含js js 能包含ts