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
  • #6540
Closed
Open
Issue created Feb 28, 2019 by Administrator@rootContributor

production build: change name

Created by: bertdeterd

Is this a bug report?

No. Just a question

Question

Is het possible to change the production build .js name?

npm run build is now generating a file with a name like :

runtime~main.fdfcfda2.js (using react-scripts 2.1.5)

The issue I am having is that when I deploy to an SAP server it is failing because the special character '~` in the file is not allowed.

I think it is more a SAP problem but maybe it is simple to change the generated name (without ejecting ofcourse)

btw: is it important to have this special character in the name?

Assignee
Assign to
Time tracking