Files
wehub-resource-sync 3cd11ababe
Check Markdown links / linkChecker (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:38:56 +08:00

23 lines
512 B
JavaScript

import typescript from '@rollup/plugin-typescript';
import terser from '@rollup/plugin-terser';
import json from '@rollup/plugin-json';
import copy from 'rollup-plugin-copy';
export default {
input: 'src/start-server.ts',
output: {
dir: 'build',
format: 'es',
},
plugins: [
typescript({
exclude: ['**/*.test.ts', 'start-test.js', 'cookbook', 'docs', 'tests'],
}),
terser(),
json(),
copy({
targets: [{ src: 'src/public/*', dest: 'build/public' }],
}),
],
};