Skip to content

RequireJs is not resolving CDN path for some js files #25690

Closed
@rafaelstz

Description

@rafaelstz

Summary (*)

When we install an extension which requires a CDN file through the file requirejs-config.js, and our store is using production mode, the compilation changes the js path, including .min, so getting an error 404.

Examples (*)

It's an example, https://github.com/rafaelstz/magento2-quicklink

Proposed solution

I think it's related with the requirejs configuration when its compile everything, I was doing some researches and I found these links that can help with it.

Metadata

Metadata

Assignees

Labels

Area: FrontendComponent: Framework/RequireJsFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions