@yanhe-su/cli
Version:
CLI tool for DAO Style projects - providing project scaffolding, template generation and dependency management
24 lines (23 loc) • 491 B
JavaScript
import { defineConfig } from '@rsbuild/core';
import { pluginVue } from '@rsbuild/plugin-vue';
export default defineConfig({
plugins: [pluginVue()],
source: {
alias: {
'@': './src'
}
},
html: {
template: './index.html',
title: '<%= name %>'
},
dev: {
startUrl: true,
port: 3000
},
tools: {
bundlerChain: (chain, { CHAIN_ID }) => {
// 自定义 webpack 配置
}
}
});