43081j / 43081j/id3

Documentation need for using the module in. and html page

Offen
#58 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
344
Forks
66
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

If I have a number of script files, normally I include them as:

```

```
but if one of those files needs to use the module, I can't figure out how to import everything so it works.

If I do it this way:
```

import * as id3 from './js/vendor/id3js/id3.js';

```
id3 isn't visible in the script files
while if I include the script files in the module:
```

import * as id3 from './js/vendor/id3js/id3.js';
import './js/foo.js';
import './js/bar.js';

```
I can't use any of their code (I suspect I would have to rewrite everything to be a module)
Is there a way to use this in non-modular javascript?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.