Enable babel for date-fns

This commit is contained in:
Dmitry Lyzo 2020-05-27 10:41:42 +03:00
parent 1926e4b9b7
commit b27832f930
2 changed files with 2 additions and 2 deletions

View file

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

View file

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