Merge pull request #1200 from dmitrylyzo/fix-apiclient-1

Babel apiclient and fix reference name
This commit is contained in:
dkanada 2020-05-08 15:56:27 +09:00 committed by GitHub
commit 63cdd95baa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: {