mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-09-19 12:14:27 +08:00
24 lines
669 B
TypeScript
24 lines
669 B
TypeScript
import { defineConfig } from '@tmagic/cli';
|
|
|
|
export default defineConfig({
|
|
componentFileAffix: '.tsx',
|
|
npmConfig: {
|
|
client: 'pnpm',
|
|
keepPackageJsonClean: true,
|
|
},
|
|
packages: [
|
|
{
|
|
button: '@tmagic/react-button',
|
|
container: '@tmagic/react-container',
|
|
img: '@tmagic/react-img',
|
|
'iterator-container': '@tmagic/react-iterator-container',
|
|
overlay: '@tmagic/react-overlay',
|
|
page: '@tmagic/react-page',
|
|
'page-fragment': '@tmagic/react-page-fragment',
|
|
'page-fragment-container': '@tmagic/react-page-fragment-container',
|
|
'qrcode': '@tmagic/react-qrcode',
|
|
'text': '@tmagic/react-text',
|
|
},
|
|
],
|
|
});
|