2023-06-16 11:02:53 +08:00

22 lines
706 B
JavaScript

export default function () {
return {
plugins: [
require.resolve('./registerBuilder'),
require.resolve('./registerMethods'),
require.resolve('./registerType'),
// bundle configs
require.resolve('./features/viteHtml'),
require.resolve('./features/viteOption'),
require.resolve('./features/viteVueJsx'),
require.resolve('./features/viteVuePlugin'),
require.resolve('./features/viteAnalyze'),
require.resolve('./features/viteLegacy'),
// commands
require.resolve('./commands/build'),
require.resolve('./commands/dev'),
],
};
}