symfony / stimulus-bridge

Stimulus integration bridge for Symfony projects
https://symfony.com/ux
75 stars 15 forks source link

Adding typescript and rollup #51

Closed weaverryan closed 2 years ago

weaverryan commented 2 years ago

This converts the project to Typescript and uses rollup to:

A) build the src/index.ts file with esm B) build the src/webpack/lazy-controller-loader.ts - which is used as a Webpack loader - into cjs, just so that it can be parsed by Node without the user needing typescript.

TODO:

tgalopin commented 2 years ago

Thanks @weaverryan.