Skip to content

Commit 8ef22ae

Browse files
committed
build: tsimp replaced by @krutoo/ts-loader
1 parent 7f995d8 commit 8ef22ae

8 files changed

Lines changed: 733 additions & 1181 deletions

File tree

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ dist
77
# test artifacts
88
coverage
99

10-
# tsimp cache
11-
.tsimp
12-
1310
# Mac OS artifacts
1411
.DS_Store
1512

@@ -18,6 +15,7 @@ temp
1815

1916
# npm pack result
2017
*.tgz
18+
!tarballs/krutoo-ts-loader-0.0.0.tgz
2119

2220
# vscode
2321
.vscode/settings.json

.ls-lint.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ ignore:
1010
- '*/.git'
1111
- '*/node_modules'
1212
- '*/dist'
13-
- '*/.tsimp'

README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -119,24 +119,6 @@ npm run setup -- --vscode
119119

120120
Notable info about this package
121121

122-
### How Node.js scripts works with TypeScript?
123-
124-
In `package.json` you can see something like:
125-
126-
```json
127-
{
128-
"scripts": {
129-
"hello": "node ./scripts/hello.ts"
130-
}
131-
}
132-
```
133-
134-
It is working because in `.npmrc` there is:
135-
136-
```
137-
node-options='--import tsimp/import'
138-
```
139-
140122
### What is a custom `sideEffects` property in `package.json`?
141123

142124
This property need for bundlers like **Webpack** and **Rspack** that uses it for check that Tree Shaking is available.

docs/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
"@krutoo/utils/types": ["../src/types/mod.ts"]
2626
}
2727
},
28-
"exclude": ["node_modules", "dist", ".generated", ".tsimp"]
28+
"exclude": ["node_modules", "dist", ".generated"]
2929
}

0 commit comments

Comments
 (0)