[v4] Requirejs makes life hard
See original GitHub issueI’ve been trying to migrate to CM4 on our setup. Before we were shimming things using require.js but now I wanted to use the new loader that you’ve setup, but sadly the use of ../
at the beginning of a module id does not resolve to the relative path according to this issue jrburke/requirejs#550. The result is that all the addons can’t require their dependencies.
Issue Analytics
- State:
- Created 10 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
[v4] Requirejs makes life hard · Issue #2389 · codemirror ... - GitHub
I've been trying to migrate to CM4 on our setup. Before we were shimming things using require.js but now I wanted to use...
Read more >Optimising requirejs with r.js causes undefined errors
Two issues in your configuration which will cause mysterious problems: jQuery 1.9.1 does not need a shim. Remove the shim you've set for...
Read more >RequireJS Reviews 2022: Details, Pricing, & Features - G2
Using a modular script loader like RequireJS will improve the speed and quality of your code. Makes life easier for you, for your...
Read more >Basics of Require JS - Part 1 - YouTube
I discuss the basics of Require JS. Specifically define, config, and require functions. I talk about why you/your team would want to use ......
Read more >Nextdoor Loves Webpack! - by Harry Kao
RequireJS is a dependency tracker and asynchronous loader that implements AMD. By default, it makes a ton of HTTP requests: one for each ......
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
@neochief for me the
packages
directive worked out:and then you can just do
This worked perfectly, thanks!