question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

If you specify the PascalCase directory name in the Entry key, it will be converted to CamelCase.

See original GitHub issue

Bug report

What is the current behavior?

If you specify the PascalCase directory name in the Entry key, it will be converted to CamelCase.

If the current behavior is a bug, please provide the steps to reproduce.

entry : {
    'Foo/FooBar/name': 'src/name.js'
}

When it is actually output, the directory will be camelCase. {path}/foo/fooBar/name.js

What is the expected behavior?

output {path}/Foo/FooBar/name.js

Other relevant information: webpack version: 5.11.0 Node.js version: 12 Operating System: Intel CPU macOS Additional tools: nodebrew Suppose you specify the following Entry.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sokracommented, Jan 6, 2021

We don’t convert the casing in webpack. Maybe these lower cased directories already exist before running webpack. Try to remove all of them and run webpack again

0reactions
fagaicommented, Jan 7, 2021

Oh, I’m sorry. When I deleted the actual directory, it worked as expected.

Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Swagger UI shows camelCase parameters instead of ...
I Googled but found a method in AddSwaggerGen DescribeAllParametersInCamelCase() which turns all the parameters into camelCase. Is there ...
Read more >
Convert snake_case to camelCase in VS Code - gists · GitHub
Convert all occurrences of snake_case to camelCase in VS Code. ... vscode-snakecase-to-camelcase.md ... Press F1 and type upper , then press ENTER ....
Read more >
What is the CamelCase naming convention? - TechTarget
CamelCase is a way to separate the words in a phrase by making the first letter of each word capitalized and not using...
Read more >
Chapter 5. Basic O/R Mapping - NHibernate
If they are specified, table names will be qualified by the given schema and/or catalog name. If they are missing, table names will...
Read more >
Pascal Case: under_scores, camelCase and PascalCase
In camel casing, names start with a lower case but each proper word in the name is capitalized and so are acronyms. For...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found