Commit 9f70d49b authored by 前端-许佳敏's avatar 前端-许佳敏

fix:全局配置声明文件

parent 8a72c3a3
...@@ -9,7 +9,7 @@ const json2ts = require('json2ts') ...@@ -9,7 +9,7 @@ const json2ts = require('json2ts')
const rootPath = '../'; const rootPath = '../';
const outputPath = path.resolve(__dirname, rootPath, 'config/base.config.json') const outputPath = path.resolve(__dirname, rootPath, 'config/base.config.json')
const outputDts = path.resolve(__dirname, rootPath, 'global.d.ts') const outputDts = path.resolve(__dirname, rootPath, 'src/global/config/global.d.ts')
Logs.start('gulp start') Logs.start('gulp start')
......
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
*/ */
import SELF_CONFIG from '../../../config/base.config.json' import SELF_CONFIG from '../../../config/base.config.json'
import { RootObject } from '../../../global' import { RootObject } from './global'
export const GlobalConfig: RootObject = SELF_CONFIG export const GlobalConfig: RootObject = SELF_CONFIG
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment