SYSTEMJS_ENABLED: defaults to
not settings.DEBUG. If disabled, the loading
of modules will happen in the ‘standard’ jspm way (transpiling in browser).
SYSTEMJS_JSPM_EXECUTABLE: path to the
jspm-cli executable. Defaults to
jspm, which should be available if installed globally with
SYSTEMJS_OUTPUT_DIR: name of the subdirectory within
Bundled files will end up in this directory, and this is the place the
templatetag will point static files to.
SYSTEMJS_PACKAGE_JSON_DIR: directory containing your
This is automatically guessed from
BASE_DIR. You will get an error in the
shell if you need to set it yourself.
SYSTEMJS_DEFAULT_JS_EXTENSIONS: in prior verions of jspm, the
for imports was optional. This is being phased out, and matches the
defaultJSExtensions settings in
SYSTEMJS_CACHE_DIR: directory to keep the dependency cache (when generating
SYSTEMJS_SERVER_URL: if you’re using a frontend asset-server and want to use
that instead of letting Django serve the modules, specify the url with this
settings. Defaults to
When generating minimal bundles, a NodeJS script
trace-deps.js) is called. This script needs to be called from the directory
package.json. If Django-SystemJS cannot figure out this directory
by itself, you may need to set the environment variable: