3.0.0 • Published 4 years ago

@wildpeaks/tsconfig-web v3.0.0

Weekly downloads
117
License
MIT
Repository
github
Last release
4 years ago

Typescript Config: Web

Github Release

Typescript configuration for Web projects.

It outputs to /lib, targeting ES5 + ES Modules.

It is configured for ES2017 and accepts:

  • CommonJS modules
  • ES modules
  • JSON modules
  • Stylesheets (.css and .scss)
  • Images (.jpg, .png, .gif, .svg)
  • Webworkers

See the test fixtures for examples.

Note that your Webpack configuration still requires matching loaders when you import non-TS files. The easiest way is using the preconfigured @wildpeaks/webpack-config-web package.

Usage

After adding it in your devDependencies, reference the package in your tsconfig.json:

{
  "extends": "@wildpeaks/tsconfig-web"
}

You can also override its settings, for example:

{
  "extends": "@wildpeaks/tsconfig-web",
  "compilerOptions": {
    "noImplicitAny": false
  }
}
3.0.0

4 years ago

2.11.1

5 years ago

2.11.0

5 years ago

2.10.5

5 years ago

2.10.4

5 years ago

2.10.3

5 years ago

2.10.2

5 years ago

2.10.1

5 years ago

2.10.0

5 years ago

2.9.0

5 years ago

2.8.2

5 years ago

2.8.1

5 years ago

2.8.0

5 years ago

2.7.4

5 years ago

2.7.3

5 years ago

2.7.2

5 years ago

2.7.1

5 years ago

2.7.0

5 years ago

2.6.3

5 years ago

2.6.2

5 years ago

2.6.1

5 years ago

2.6.0

5 years ago

2.5.0

5 years ago

2.4.3

5 years ago

2.4.2

5 years ago

2.4.1

5 years ago

2.4.0

5 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.0

6 years ago

2.0.0-alpha2

6 years ago

2.0.0-alpha1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

1.0.0-alpha2

6 years ago

1.0.0-alpha

6 years ago