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.

Feature request: support fixed filename

See original GitHub issue

compilerOptions.output.chunkFilename is [name].[hash].js and i need to provide the generated name.hash.worker.js to sw-precache-webpack-plugin

I cant use the generated .worker.js filename, the [name] could not be used from /sw-precache-webpack-plugin (ok thats their problem) and the hash seems not to match the generated file.

An option to set a fixed target filename in webpack config would be perfect:

      new WorkerPlugin({
        filename: 'worker.js'
      }),

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:8

github_iconTop GitHub Comments

3reactions
developitcommented, Jun 23, 2020

I just implemented { filename, chunkFilename } options in #82.

0reactions
developitcommented, Aug 11, 2020

The filename option is now released in 5.0.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Request: abililty to change attachment file name
Pull the three attachment components into tmp fields, then call my own webservice to update the attachment filename. For various reasons, I refuse...
Read more >
YAT / Feature Requests / #458 Send file selection only shows file ...
Hi,. When sending a file, only the file name is shown in the list view. If the user has different files with the...
Read more >
When uploading a document, the file name automatically ...
Great idea! I've submitted a feature request for this functionality to the development team. While feature requests aren't guaranteed changes, ...
Read more >
Error message when you open or save a file in Microsoft Excel
This error message occurs when you save or open a file if the path to the file (including the file name) exceeds 218...
Read more >
256369 - chrome.downloads.download({filename}) should ...
Status: Fixed (Closed) Components: UI>Browser>Downloads ... Issue 256369: chrome.downloads.download({filename}) should support subdirectories.
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