malytinKonstantin / react-starter-split-webpack-5-ts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Starter kit using TS, JS, Babel, Jest, Webpack

About showing errors by VS Code.

Added empty dummy.ts.

  1. Close all open files
  2. Open dummy.ts
  3. Ctrl + Shift + P -> TypeScript: Restart TS Server
  4. Shown errors will be gone.

Now I cannot explain this behaviour :/

Run some command from list:

Bundling in DEV environment with response to changes in config

npm run webpack-config-dev

Bundling in PROD environment with response to changes in config

npm run webpack-config-prod

Bundling in DEV environment with response to changes in code

npm run start-dev

Bundling in PROD environment with response to changes in code

npm run start-prod

Getting DEV build

npm run build-dev

Getting PROD build

npm run build-prod

Remove build

npm run clean

Compare js with rules of linter

npm run lint

Compare js with rules of linter and then fix all errors

npm run lint-fix

Running all tests (see jest config)

npm run test

Running all tests using watch mode

npm run test-watch

Running all tests using coverage mode

npm run test-coverage

About


Languages

Language:TypeScript 53.1%Language:JavaScript 32.2%Language:SCSS 13.7%Language:HTML 1.0%