mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -07:00
Merge pull request #1200 from dmitrylyzo/fix-apiclient-1
Babel apiclient and fix reference name
This commit is contained in:
commit
63cdd95baa
@ -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 () {
|
||||||
|
@ -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: {
|
||||||
|
@ -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: {
|
||||||
|
Loading…
Reference in New Issue
Block a user