mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-21 04:38:15 +08:00
refactor: replace art template with jsx (#20777)
* refactor: replace art template with jsx * fix: tsx files * fix: renderToString import * fix: hono html raw import * feat: remove art
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
import { defineConfig } from 'tsdown';
|
||||
|
||||
import artTemplatesPlugin from './plugins/rollup-plugin-art-templates.ts';
|
||||
|
||||
export default defineConfig({
|
||||
entry: ['./lib/pkg.ts'],
|
||||
shims: true,
|
||||
clean: true,
|
||||
dts: true,
|
||||
plugins: [artTemplatesPlugin()],
|
||||
copy: ['lib/assets'],
|
||||
outDir: 'dist-lib',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user