Closed aalin closed 1 year ago
I don't know how CSS source maps work, and they don't work in Mayu.
Would be cool to have source maps for components too somehow.
Here's one implementation to look at: https://github.com/ruby2js/ruby2js/blob/master/lib/ruby2js/serializer.rb#L302-L409
Best option is probably to use https://lightningcss.dev/ via magnus.
I don't know how CSS source maps work, and they don't work in Mayu.
Would be cool to have source maps for components too somehow.
Here's one implementation to look at: https://github.com/ruby2js/ruby2js/blob/master/lib/ruby2js/serializer.rb#L302-L409