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
  • #8347
Closed
Open
Issue created Jan 21, 2020 by Administrator@rootContributor

Specify a standard filename under terserOptions

Created by: resting

Is your proposal related to a problem?

The current npm run build extracts the License comments and put them in a file that ends in a non standard extension .LICENCSE. This causes problem for servers like IIS to return 404 for request to the file. It also causes serviceWorker to break due to the file not being loaded.

Describe the solution you'd like

Specify a standard name under terserOptions in webpack.config.js, so that it ends in .js.

Not tested, should be something like the below:

filename: [file]
Assignee
Assign to
Time tracking