rna icon indicating copy to clipboard operation
rna copied to clipboard

Insert <link> directly, without an intermediate <script>

Open cowwoc opened this issue 5 months ago • 10 comments

Instead of inserting a <script> at https://github.com/chialab/rna/blob/6f5fefd50f39a82d7bd01106b54e4acb07cb8806/packages/esbuild-plugin-html/lib/collectScripts.js#L102 are you able to insert a <link> directly? This would look more natural, and it would add support for users who disable Javascript.

cowwoc avatar Mar 05 '24 16:03 cowwoc