Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Sep 7, 2023
1 parent 973e231 commit 81a4610
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: [14.x, 16.x, 18.x]
os: [ubuntu-latest, windows-latest]
node_version: [14.x]
os: [windows-latest]
fail-fast: false
steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 3 additions & 0 deletions src/builder/bundless/loaders/javascript/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ const jsLoader: IBundlessLoader = function (content) {
const tsconfig = /\.tsx?$/.test(this.resource)
? getTsconfig(this.context!)
: undefined;
if (this.resource.includes('bundless-include-dts')) {
console.log(tsconfig?.fileNames, this.resource);
}
if (
tsconfig?.options.declaration &&
tsconfig?.fileNames.includes(this.resource)
Expand Down

0 comments on commit 81a4610

Please sign in to comment.