Broken `insert` option
See original GitHub issueWhile using the insert
option, i get the following error when the application tries to insert a chunk in the browser:
Uncaught (in promise) ReferenceError: insert is not defined
at bootstrap:891
at new Promise (<anonymous>)
at Function.requireEnsure [as e] (bootstrap:861)
at Function.fn.e (bootstrap:155)
at load (UpgradeLicense.tsx:7)
at Object.config.then (universalImport.js:8)
In fact, the user provided insert
function is not injected into the bundle code.
Culprit is this line (from #226): https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/commit/d41bafa3b442c0f36a8aa26fddfa5f158043a4e5#diff-1fdf421c05c1140f6d71444ea2b27638L385
The code responsible for injecting it has been forgotten in this PR.
In addition to this, this part of the feature isn’t covered by #202 tests, but i imagine it’s not really possible to test it in a more realistic fashion.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
How to remove Broken links from Insert Option
Hi All,. How to remove Broken links from Insert Option. I am sharing the screen. Manually we can do but i want to...
Read more >How To Insert Broken Line In Word (MS Word) - YouTube
Watch in this video How To Insert Broken Line In Word (MS Word) document Use shapes option in Microsoft word to draw the...
Read more >Insert or delete a page break - Microsoft Support
In the Paragraph dialog box, select Line and Page Breaks. Under Pagination, choose the option that works best for you: Widow/Orphan control. Keep...
Read more >Editor markup insert is totally broken - Atlassian Community
Hello, the markup insert is totally dead today, I'm okay with the broken preview but the insert function should unless be working.
Read more >Lessons Learned from Putting Together a Broken Token Insert
Lessons Learned from Putting Together a Broken Token Insert · Less is more with stain · Be careful punching out, don't splinter wood...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great, I hope it gets published soon, because it takes like a minute to be done with it.
🎉 This issue has been resolved in version 4.8.0 🎉
The release is available on:
Your semantic-release bot 📦🚀