@rasahq/react-tabula
v2.0.0-blog-alpha.75
Published
Rasa's Brand Design System
Downloads
46
Keywords
Readme
@rasahq/react-tabula
About "barrel" files
Experimenting with auto creation of indexes, at different levels
About local development linking
Solutions involving webpack resolve.alias setting
- Unsolving the mysteries of yarn/npm link for libraries development - DEV Community 👩💻👨💻
- A better alternative to npm/yarn link for the front-end | by Thomas Rich | Medium
- How to fix NPM link duplicate dependencies issues - Maxime Heckel's Blog
NOTE re @fortawesome packages and Babel
With Webpack 4, the tree-shaking of @fortawesome packages doesn't work correctly. The babel-plugin-transform-imports package is required to remap:
{
"plugins": [
[
"transform-imports",
{
"@fortawesome/pro-regular-svg-icons": {
"transform": "@fortawesome/pro-regular-svg-icons/${member}",
"skipDefaultConversion": true,
"preventFullImport": true
},
"@fortawesome/pro-solid-svg-icons": {
"transform": "@fortawesome/pro-solid-svg-icons/${member}",
"skipDefaultConversion": true,
"preventFullImport": true
},
"@fortawesome/pro-light-svg-icons": {
"transform": "@fortawesome/pro-light-svg-icons/${member}",
"skipDefaultConversion": true,
"preventFullImport": true
},
"@fortawesome/pro-duotone-svg-icons": {
"transform": "@fortawesome/pro-duotone-svg-icons/${member}",
"skipDefaultConversion": true,
"preventFullImport": true
},
"@fortawesome/free-brands-svg-icons": {
"transform": "@fortawesome/free-brands-svg-icons/${member}",
"skipDefaultConversion": true,
"preventFullImport": true
}
}
]
]
}