Babel apiclient and fix reference name
This commit is contained in:
+1
-1
@@ -158,7 +158,7 @@ _define('headroom', function () {
|
||||
var apiclient = require('jellyfin-apiclient');
|
||||
|
||||
_define('apiclient', function () {
|
||||
return apiclient.apiclient;
|
||||
return apiclient.ApiClient;
|
||||
});
|
||||
|
||||
_define('events', function () {
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ module.exports = merge(common, {
|
||||
rules: [
|
||||
{
|
||||
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: {
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ module.exports = merge(common, {
|
||||
rules: [
|
||||
{
|
||||
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: {
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
|
||||
Reference in New Issue
Block a user