mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Enable babel build caching
This commit is contained in:
parent
15b4842c4f
commit
073ab54aef
1 changed files with 7 additions and 1 deletions
|
@ -116,7 +116,11 @@ module.exports = {
|
||||||
test: /\.(js|jsx)$/,
|
test: /\.(js|jsx)$/,
|
||||||
exclude: /node_modules[\\/](?!@uupaa[\\/]dynamic-import-polyfill|blurhash|date-fns|epubjs|flv.js|libarchive.js|marked|react-router|screenfull)/,
|
exclude: /node_modules[\\/](?!@uupaa[\\/]dynamic-import-polyfill|blurhash|date-fns|epubjs|flv.js|libarchive.js|marked|react-router|screenfull)/,
|
||||||
use: [{
|
use: [{
|
||||||
loader: 'babel-loader'
|
loader: 'babel-loader',
|
||||||
|
options: {
|
||||||
|
cacheCompression: false,
|
||||||
|
cacheDirectory: true
|
||||||
|
}
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -140,6 +144,8 @@ module.exports = {
|
||||||
use: [{
|
use: [{
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
options: {
|
options: {
|
||||||
|
cacheCompression: false,
|
||||||
|
cacheDirectory: true,
|
||||||
plugins: [
|
plugins: [
|
||||||
'@babel/transform-modules-umd'
|
'@babel/transform-modules-umd'
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue