After utilizing projen to create my typescript project, I followed these steps: mkdir my-project
, git init
, and npx projen new typescript
. Additionally, I created two files - sample.txt and sample.js, along with the default file index.ts within the folder structure. Upon running yarn build, only .ts files were packaged under the lib folder, excluding the .txt and .js files. To include these additional file types in the packaging process, I attempted to modify the configuration in the .projenrc.js file as follows:
tsconfig: {
include: [
'src/*.txt',
'src/*.js',
'src/**/*.txt',
'src/**/*.js',
],
compilerOptions: {
noUnusedLocals: false,
noUnusedParameters: false,
},
},
However, this modification did not yield the desired results. Any assistance on how to address this issue would be greatly appreciated.