-
Notifications
You must be signed in to change notification settings - Fork 505
Closed
Labels
help wantedExtra attention is neededExtra attention is neededkind: supportAsking for support with something or a specific use caseAsking for support with something or a specific use casescope: integrationRelated to an integration, not necessarily to core (but could influence core)Related to an integration, not necessarily to core (but could influence core)
Description
Current Behavior
I have been trying to create a react component with images for the purpose of reusing them across different apps.
However, when I build the library and import the component, the component works fine except all the images are not referenced properly
I also tried running Storybook and I got the same issue.
Expected behavior
Build process should ship images properly
Suggested solution(s)
Additional context
- I run
tsdx build
on theprepare
script in thepackage.json
- I tried using
babel-plugin-file-loader
,rollup-plugin-url
androllup-plugin-image
but they didn't work.
Your environment
Software | Version(s) |
---|---|
TSDX | 0.9.3 |
TypeScript | 3.6.2 |
Browser | Chrome Version 77.0.3865.120 |
npm/Yarn | Yarn 1.19.1 |
Node | 10.15.3 |
Operating System | MacOS Mojave 10.14.6 |
benvium and lwyj123
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is neededkind: supportAsking for support with something or a specific use caseAsking for support with something or a specific use casescope: integrationRelated to an integration, not necessarily to core (but could influence core)Related to an integration, not necessarily to core (but could influence core)