dist/es2015/aurelia-loader-webpack.js
/**
    * Loads a text-based resource.
    * @param url The url of the text file to load.
    * @return A Promise for text content.
    */
Loads a text-based resource.
@param url The url of the text file to load.
@return A Promise for text content.
Loads a text - based resource . @param url The url of the text file to load . @return A Promise for text content .
loadText(url) {
        return __awaiter(this, void 0, void 0, function* () {
            const result = yield this.loadModule(url, false);
            if (result instanceof Array && result[0] instanceof Array && result.hasOwnProperty('toString')) {
                return result.toString();
            }
            return result;
        });
    }
loadText ( url ) { return __awaiter ( this , void 0 , void 0 , function * ( ) { const result = yield this . loadModule ( url , false ) ; if ( result instanceof Array && result [ 0 ] instanceof Array && result . hasOwnProperty ( 'toString' ) ) { return result . toString ( ) ; } return result ; } ) ; }
Loads a text-based resource.
Loads a text - based resource .
// we're dealing with a file loaded using the css-loader: