Skip to content
Snippets Groups Projects
Select Git revision
  • 68a87639e207b61b896fc18c610e7f94d798b1ef
  • main default protected
  • renovate/lock-file-maintenance
  • demo protected
  • person-select-custom
  • dbp-translation-component
  • icon-set-mapping
  • port-i18next-parser
  • remove-sentry
  • favorites-and-recent-files
  • revert-6c632dc6
  • lit2
  • advertisement
  • wc-part
  • automagic
  • publish
  • wip-cleanup
  • demo-file-handling
18 results

toolkit

  • Clone with SSH
  • Clone with HTTPS
  • Christoph Reiter's avatar
    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
    History

    Frontend Toolkit

    Setup

    yarn install

    cd packges/some-package and continue development with yarn run watch etc.

    Other commands

    • yarn run test - Run test for all packages`
    • yarn run clean - Removes all node_modules directories.