eugeneware / debowerify

A browserify transform to enable the easy use of bower components in browserify client javascript projects. This can be used in conjunction with deamdify to require AMD components from bower as well.
493 stars 51 forks source link

Add support fox tsx files #77

Open nistvan86 opened 8 years ago

nistvan86 commented 8 years ago

Debowerify doesn't process tsx files.

Modifying the following line in index.js if (!/\.(_?js|c?jsx|(lit)?coffee(\.md)?|ls|ts)$/.test(file)) return through(); to this if (!/\.(_?js|c?jsx|(lit)?coffee(\.md)?|ls|ts|tsx)$/.test(file)) return through(); fixes the issue.