home.social

#importmap — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #importmap, aggregated by home.social.

fetched live
  1. A pleasure to have importmap during development. No webpack, esbuild, bundlers. Compile TypeScript, start web server (like python3 -m http.server ...), point browser to some HTML file like:

    <head>
    <script type="importmap">
    {
    "imports": {
    "chai": "../../node_modules/chai/index.js",
    }
    }
    </script>
    <script type="module" src="../../build/DavIntegrationTest.js"></script>

    developer.mozilla.org/en-US/do

    #JavaScrtipt, #TypeScript, #importmap #bundlers

  2. Un outil pour automatiser l'utilisation des *importmap*, une nouvelle norme HTML qui permet d'améliorer la gestion des dépendances JavaScript externes.

    🔗 jspm.org/

    #JavaScript #HTML #dependances #importmap

  3. Стоит ли игра свеч? Кратко о Single SPA (часть 1)

    О проектировании микросервисной архитектуры с использованием фреймворка Single SPA и технологиях, связанных с его использованием. Читать далее...

    habr.com/ru/articles/826590/

    #микросервисы #single_spa #javascript #микрофронтенды #webразработка #vite #importmap #systemjs #esmoduleshims #полифиллы

  4. Heard about some projects in Ruby world is already using #ImportMap on production. So I started to refactor parts of my vanilla #JavaScript project to switch from #Vite to use import map. Not finished yet but no build feels really really great. I will share the project once it’s presentable.

    #UseThePlatform

  5. I couldn't find a guide that explains how to configure a #rubygem so you can #importmap JS files into your #rails app, when the JS is in a gem.

    So I wrote a blogpost on it!
    eirvandelden.com/developing/20

    Credit goes to Alex on Stack overflow stackoverflow.com/users/207090
    If anyone knows who he is on, please mention him, because I could not have figured this out without his awesome and very complete answers!