_inlineScripts(document, ast, bundle, excludes) {
        return __awaiter(this, void 0, void 0, function* () {
            const scriptImports = dom5.queryAll(ast, matchers.externalJavascript);
            for (const externalScript of scriptImports) {
                yield importUtils.inlineScript(this.analyzer, document, externalScript, bundle, this.sourcemaps, excludes);
            }
        });
    }
/**
     * Replace all external javascript tags (`<script src="...">`)
     * with `<script>` tags containing the file contents inlined.
     */
Replace all external javascript tags (`
Replace all external javascript tags ( `
_inlineScripts(document, ast, bundle, excludes) {
        return __awaiter(this, void 0, void 0, function* () {
            const scriptImports = dom5.queryAll(ast, matchers.externalJavascript);
            for (const externalScript of scriptImports) {
                yield importUtils.inlineScript(this.analyzer, document, externalScript, bundle, this.sourcemaps, excludes);
            }
        });
    }
_inlineScripts ( document , ast , bundle , excludes ) { return __awaiter ( this , void 0 , void 0 , function * ( ) { const scriptImports = dom5 . queryAll ( ast , matchers . externalJavascript ) ; for ( const externalScript of scriptImports ) { yield importUtils . inlineScript ( this . analyzer , document , externalScript , bundle , this . sourcemaps , excludes ) ; } } ) ; }
Replace all external javascript tags (`<script src="...">`)
 with `<script>` tags containing the file contents inlined.
Replace all external javascript tags ( ` <script src = " ... " > ` ) with ` <script > ` tags containing the file contents inlined .