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.

{
    test: /\.(jpe?g|png)$/i,
    use: {
      loader: 'responsive-loader',
      options: {
        name: '[name].[hash].[ext]',
        size: 768,
        placeholder: false
      }
    }
}

It returns filename.784f17d8a8c77977b1c087cc21edb553.jpgjpg and if I remove .[ext] there will be no dot before jpg

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
jerstuckicommented, Aug 2, 2017

Please refer to the change log on how to upgrade. Cheers!

0reactions
sytranlmcommented, Aug 2, 2017

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Does "Invalid File Extension" Mean When Trying to Post ...
The "invalid file extension" error message can be extremely frustrating when a user wants to upload an image to a social networking site...
Read more >
Fix File Extension Errors or Problems - [Detailed Guide]
1. “Invalid file extension” error – This is faced by the users when the file extension is not recognized by the software. To...
Read more >
I have a slew of images that have the wrong extension. Mainly ...
I have a slew of images that have the wrong extension. Mainly PNG with a JPG extenstion. Is there a simple way to...
Read more >
A file is in a different format than its extension indicates in Excel
When you open a file in Excel, you get an message that the file name extension doesn't match the actual file format. For...
Read more >
How to open broken computer files | Popular Science
Maybe the file has become corrupted, someone saved it in an incorrect format, or you're simply opening it with the wrong program.
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