vuecssuiant-designantdreactantantd-vueenterprisefrontendui-designvue-antdvue-antd-uivue3vuecomponent
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
562 B
24 lines
562 B
'use strict'; |
|
|
|
const fs = require('fs'); |
|
const { getProjectPath } = require('./utils/projectHelper'); |
|
|
|
module.exports = function () { |
|
let my = {}; |
|
if (fs.existsSync(getProjectPath('tsconfig.json'))) { |
|
my = require(getProjectPath('tsconfig.json')); |
|
} |
|
return Object.assign( |
|
{ |
|
noUnusedParameters: true, |
|
noUnusedLocals: true, |
|
strictNullChecks: true, |
|
target: 'es6', |
|
jsx: 'preserve', |
|
moduleResolution: 'node', |
|
declaration: true, |
|
allowSyntheticDefaultImports: true, |
|
}, |
|
my.compilerOptions, |
|
); |
|
};
|
|
|