drewbaker / wp-easy

Plugin that powers the WP Easy theme
2 stars 1 forks source link

Create JS files as modules, not inline it all #4

Closed drewbaker closed 1 month ago

drewbaker commented 2 months ago

Ultimately we want to be able to use JS modules and named importmaps for components.

Good idea to generate this and gives names to all the JS files: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap

I think that means we have to make JS files that are loaded as modules, because I don't think you can have inline JS work as named modules?

drewbaker commented 1 month ago

What I'm asking for here is, to read the SFC for the Githubissues.

  • Githubissues is a development platform for aggregating issues.