Skip to content
Snippets Groups Projects
  1. Aug 19, 2020
  2. Aug 18, 2020
  3. Aug 17, 2020
  4. Aug 13, 2020
  5. Aug 12, 2020
  6. Aug 11, 2020
  7. Aug 10, 2020
  8. Aug 06, 2020
  9. Aug 05, 2020
  10. Aug 04, 2020
  11. Jul 28, 2020
  12. Jul 22, 2020
  13. Jul 20, 2020
    • Reiter, Christoph's avatar
      Use the rollup resolve plugin for finding package asssets · 68a87639
      Reiter, Christoph authored
      Instead of hardcoding the paths of the node_modules directory we use the node-resolve
      plugin of rollup to find the root of the corresponding JS package and calcucate a path from
      there.
      
      Resolving a package requires calling an async function, so we have to use await in the rollup config.
      Luckily rollup supports configs wrapped in a promise, so we just have to wrap it in a function which returns
      a promise.
      68a87639
Loading