Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #823
Closed
Open
Issue created Oct 02, 2016 by Administrator@rootContributor

Wrong paths for fonts when setting homepage to "."

Created by: themre

Description

From 0.6.0 on I'm experience this bug, where links from Fontawesome are broken. This goes for fonts, that are referenced in the Fontawesome CSS.

Expected behavior

Link to fonts should be e.g. build/static/media/fontawesome-webfont.1dc35d25.ttf

Actual behavior

Link in css produces: build/static/css/static/media/fontawesome-webfont.1dc35d25.ttf. This goes for TTF, WOFF and WOFF2.

Environment

  1. react-scripts 0.6.1 (if you haven’t ejected):
  2. node 6.3.0:
  3. npm 3.10.3:
  4. font-awesome 4.6.3
  5. Operating system: Windows 10 64-bit
  6. Browser and version: All

Usage

I import fonts like this: import 'font-awesome/css/font-awesome.css'

Assignee
Assign to
Time tracking