dotkom / design-system

Component library, maybe
https://design.online.ntnu.no
MIT License
4 stars 4 forks source link

Switch compilation to typescript with/commonjs, resolve absolute paths with ttypescript plugins #162

Closed oleast closed 4 years ago

oleast commented 4 years ago

Checklist

Notes to other people

About the pull request

Skip webpack when building the module, build as commonjs, and transform local root relative paths to relative ones (since the projects that use this project don't know what that root is).

This has been tested to work with a yarn link-ed project using NextJS with SSR and with our storybook locally.

Resolves #161 Resolves #148

Screenshots