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.

Pass chunkName to method

See original GitHub issue

Do you have an idea how the chunkName could be passed down to the method specified via methodName? I forked your plugin and tried some things, but the problem is, that the name is undefined for a chunk when compilationHook is called, and chunk information for a certain chunk are only present in the next iteration.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
yss14commented, Apr 3, 2018

Now everything seems to work 😉 Thanks for your time on that feature, really appreciate it 😃

1reaction
agoldiscommented, Apr 1, 2018

Hmm… interesting… I will look into later today

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to generate dynamic import chunk name in Webpack
You can use [request] placeholder to set dynamic chunk name. A basic example would be: const cat = "Cat"; import( /* webpackChunkName: "[ ......
Read more >
Using webpackChunkName with dynamic import changes ...
I there a way to dynamically change this? I know below wont work, but is there another way? let dynamicMode = process.
Read more >
Fixing WebpackChunkName for Dynamic Imports - Time to Hack
So to resolve this, I updated the chunkName in output of webpack config to [name].[contenthash].chunk.js. But still no luck!
Read more >
How to name a webpack chunk (including split and common ...
Naming your Webpack chunks helps you understand the contents of each bundle of code, and keep consistency between deploys.
Read more >
[SOLVED] Is there anyway to pass parameter from snippet to ...
My procedure 1) I have created resource (document) which contains call to snippet and then chunk 2) snippet contains value retrieved from ...
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