【发布时间】:2019-08-24 14:30:45
【问题描述】:
我的文件夹结构如下:
src
└> index.ts
└> image.webp
└> test.html
└> something.css
build
└> index.js
tsconfig.json
如您所见,在我的构建文件夹中,只有构建的索引文件,但没有我的 WEBP、HTML 和 CSS 文件,但我想在构建文件夹中。
有没有办法做到这一点?
我当前的 tsconfig.json:
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"removeComments": true,
"typeRoots": ["@types"],
"outDir": "build"
},
"exclude": ["node_modules"],
"include": ["src"]
}
【问题讨论】:
标签: typescript tsconfig