Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 13636

Denotes questions related to require JS. RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments.

0 votes
1 answer
65 views

In Magento 2, what determines the path used for requirejs?

installations of the same code looking at the same database, and when I deploy the static code I get different files created by each: 1) creates pub/static/_requirejs/adminhtml/Magento/backend/en_GB/requirejs-config.js … 2) creates pub/static/_requirejs/adminhtml/Magento/backend/en_GB/secure/requirejs-config.js I'm guessing this is to do with the secure URLs, but they have identical app/etc/env.php files. …
Robert Egginton's user avatar
0 votes

In Magento 2, what determines the path used for requirejs?

This seems to be determined by environment variables. By running static deployment as follows, I get the secure version: https=on php ./bin/magento setup:static-content:deploy
Robert Egginton's user avatar