build: 删除多余构建配置,构建ui
This commit is contained in:
@@ -15,21 +15,11 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import path from 'path';
|
||||
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
import pkg from './package.json';
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias:
|
||||
process.env.NODE_ENV === 'production'
|
||||
? []
|
||||
: [{ find: /^@tmagic\/schema/, replacement: path.join(__dirname, '../schema/src/index.ts') }],
|
||||
},
|
||||
|
||||
build: {
|
||||
sourcemap: false,
|
||||
minify: false,
|
||||
|
||||
Reference in New Issue
Block a user