Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Webpack config for importing external CSS/Images/Fonts #8

@jeffscottward

Description

@jeffscottward

Currently when building my own style-guide, generated as described in the readme, I am unable to import assets other than javascript.

_
I would like to be able to import css
-- Locally sourced CSS (regular)
-- Locally sourced CSS file for generated font-face stacks (url sourcing issue?)
-- CSS files that are required by NPM-installed React components (rc-slider for example)
-- Stylesheets resets that are installed via NPM (like sanitize.css) --^ same issue I believe

I would like to be able to import images
-- to source as src of an img tag
-- to use as a background-image for inline CSS (styled-jsx / styled-components)

I would like to be able to import font faces(?)
-- to be referenced by a CSS stylesheet I have generated from a font-face generator(!)
-- to be required inside of the CSS file in the url param(??? - maybe not)
-- [OTHER USE?]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions