Babel apiclient and fix reference name

This commit is contained in:
Dmitry Lyzo 2020-05-08 01:25:58 +03:00
parent a7241d39f6
commit 5d40eb0b23
3 changed files with 3 additions and 3 deletions

View file

@ -158,7 +158,7 @@ _define('headroom', function () {
var apiclient = require('jellyfin-apiclient'); var apiclient = require('jellyfin-apiclient');
_define('apiclient', function () { _define('apiclient', function () {
return apiclient.apiclient; return apiclient.ApiClient;
}); });
_define('events', function () { _define('events', function () {

View file

@ -16,7 +16,7 @@ module.exports = merge(common, {
rules: [ rules: [
{ {
test: /\.js$/, test: /\.js$/,
exclude: /node_modules[\\/](?!query-string|split-on-first|strict-uri-encode)/, exclude: /node_modules[\\/](?!jellyfin-apiclient|query-string|split-on-first|strict-uri-encode)/,
use: { use: {
loader: 'babel-loader', loader: 'babel-loader',
options: { options: {

View file

@ -9,7 +9,7 @@ module.exports = merge(common, {
rules: [ rules: [
{ {
test: /\.js$/, test: /\.js$/,
exclude: /node_modules[\\/](?!query-string|split-on-first|strict-uri-encode)/, exclude: /node_modules[\\/](?!jellyfin-apiclient|query-string|split-on-first|strict-uri-encode)/,
use: { use: {
loader: 'babel-loader', loader: 'babel-loader',
options: { options: {