DynamoMTL / shopify-pipeline

Shopify Pipeline - A modern pipeline for Shopify theme development
MIT License
86 stars 16 forks source link

TypeScript support #106

Open mandymozart opened 6 years ago

mandymozart commented 6 years ago

How would I best start to get TypeScript into the theme kit?

I started writing some JavaScript, but I notice the overhead I am experiencing to maintain potential large scale projects is enormous.

I would like to fork the project. Or ask if it would be much of a hustle to add the typescript compiler to the build process.

thanks.

alexleclair commented 6 years ago

(Replying 5 months later, yay!)

You could probably simply update the dependencies of your underlying project and update your local webpack config within config/webpack.base.conf.js

You're welcome to issue a PR that deals with *.ts (and *.d.ts by extension) files :)