programming
vscode
,
typescript
,
javascript
,
react
Setup VSCode for typescript with css modules import support. You can be able import css,scss,less,stylus file as modular import in typescript+react+webpack project
programming
typescript
create interface class and function in typescript d.ts Summary when you create an library which is can be function or class like below sample import Client from ./client;// The following two lines both achieve the same result.const clas = new Client;const fun = Client; The client may be co
programming
javascript
Fix rollup eval warning Error summary _freeGlobal appears to be imported at https://github.com/lodash/lodash/blob/master/.internal/nodeUtil.jsL1. It looks like lodash is a dependency of Bluebird https://github.com/request/promise-core/blob/master/package.jsonL36. https://github.com/lodash/lodash
programming
vscode
,
prettier
Prettier VSCode TypeError A dynamic import callback was not specified fix How to fix Prettier VSCode TypeError A dynamic import callback was not specified only occurs for JSX/TSX file. JSX TSX Summary prettier version prettier: ^3.0.3 plugin information Prettier - Code formatter v10.1.0
programming
github
,
shell
fix end of line on github repository force end of line using LF For repos Git repositories that were checked out after those global settings were set, everythin
programming
github
,
shell
How to add path folder to github workflows CI Sometimes when you try to use a command and Bash displays the Command not found error, it might be because the pro
programming
shell
,
javascript
husky support for linux, husky support for windows, husky support for cygwin, husky support for WSL
programming
github
,
workflows
,
tips & tricks
How to remove github workflows logs each workflow runs creating huge logs in github actions. sometimes you need to clean them to prune repository sizes. below i