Let webpack run Babel on xmldom

This commit is contained in:
MrTimscampi 2020-07-05 13:37:21 +02:00
parent d709aec75b
commit dc60416a7b
2 changed files with 2 additions and 2 deletions

View file

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

View file

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