Skip to content

production build: change name #6540

Open
@bertdeterd

Description

@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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions