@app-config/js

Loads a JavaScript module to inject configuration

Usage no npm install needed!

<script type="module">
  import appConfigJs from 'https://cdn.skypack.dev/@app-config/js';
</script>

README

App Config JS Module Loader

This is a parsing extension to load arbitrary JavaScript code.

Add to meta file:

parsingExtensions:
  - @app-config/js

Use it:

foo:
  $jsModule: './another-file.js'

The API of this module is documented via TypeScript definitions.

Read the Introduction or Quick Start guides on our website.