Open Bug 2095261 Opened 23 hours ago Updated 21 hours ago

Handle chrome:// URL resources for component JS in Storybook

Categories

(Toolkit :: UI Widgets, task, P3)

task

Tracking

()

ASSIGNED

People

(Reporter: mstriemer, Assigned: mstriemer)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp])

Attachments

(1 external file)

After bug 2094752 we get CSS handling of chrome:// resources, but JS files are not handled. Come up with a solution for JS, in some cases we could move the URL into CSS and it will be bundled. Another option would be to update the bundler to automatically rewrite all of the chrome:// URLs, no matter of the location, which would require less code changes.

Find .svg and .png file paths in JS files when building Storybook and
bring them into the bundle.

Assignee: nobody → mstriemer
Status: NEW → ASSIGNED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: