Skip to content

A simple webpack config example for compiling React and TypeScript.

Notifications You must be signed in to change notification settings

julianjuko/webpack-config-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-config-ts

Minimal webpack config for bundling React/TypeScript based libraries/modules

Lately I've had to do a lot of webpack config for React apps and modules, and it's hard. Especially when you throw TypeScript into the mix. The last straw was trying to configure a library written in TypeScript; a base minimal config was required for this kind of thing.

This repository is intended to be a starting point for anyone who is sick of seeing webpack errors and wishes they were able to run yarn build and spit out the packaged files and types correctly.

Many thanks to @lmiller1990 for helping me determine the ideal config for my usual frontend stack.

About

A simple webpack config example for compiling React and TypeScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published