Babel apiclient and fix reference name
This commit is contained in:
parent
a7241d39f6
commit
5d40eb0b23
3 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue