chenjiawei.inizio cbefaa54fb
chore: add license header (#432)
* chore: add license-header

* chore: add precommit

* chore: add license header

* fix: only js & shell style
2025-07-01 11:53:02 +00:00

21 lines
415 B
JavaScript

/**
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
* SPDX-License-Identifier: MIT
*/
const path = require('path');
const { main } = require('./package.json');
const { defineConfig } = require(path.resolve(__dirname, main));
module.exports = defineConfig({
packageRoot: __dirname,
preset: 'node',
settings: {
react: {
version: 'detect', // 自动检测 React 版本
},
},
});