@@ -449,7 +449,7 @@ module.exports = (env, argv) => {
449
449
loader : "file-loader" ,
450
450
type : "javascript/auto" ,
451
451
options : {
452
- name : "[name].[fullhash :7].[ext]" ,
452
+ name : "[name].[hash :7].[ext]" ,
453
453
outputPath : "." ,
454
454
} ,
455
455
} ,
@@ -461,7 +461,7 @@ module.exports = (env, argv) => {
461
461
type : "javascript/auto" ,
462
462
options : {
463
463
// We deliberately override the name so it makes sense in debugging
464
- name : "opus-encoderWorker.min.[fullhash :7].[ext]" ,
464
+ name : "opus-encoderWorker.min.[hash :7].[ext]" ,
465
465
outputPath : "." ,
466
466
} ,
467
467
} ,
@@ -489,7 +489,7 @@ module.exports = (env, argv) => {
489
489
type : "javascript/auto" , // https://github.com/webpack/webpack/issues/6725
490
490
options : {
491
491
// We deliberately override the name so it makes sense in debugging
492
- name : "opus-decoderWorker.min.[fullhash :7].[ext]" ,
492
+ name : "opus-decoderWorker.min.[hash :7].[ext]" ,
493
493
outputPath : "." ,
494
494
} ,
495
495
} ,
@@ -514,7 +514,7 @@ module.exports = (env, argv) => {
514
514
type : "javascript/auto" , // https://github.com/webpack/webpack/issues/6725
515
515
options : {
516
516
// We deliberately override the name so it makes sense in debugging
517
- name : "wave-encoderWorker.min.[fullhash :7].[ext]" ,
517
+ name : "wave-encoderWorker.min.[hash :7].[ext]" ,
518
518
outputPath : "." ,
519
519
} ,
520
520
} ,
@@ -525,7 +525,7 @@ module.exports = (env, argv) => {
525
525
type : "javascript/auto" ,
526
526
loader : "file-loader" ,
527
527
options : {
528
- name : "i18n/[name].[fullhash :7].[ext]" ,
528
+ name : "i18n/[name].[hash :7].[ext]" ,
529
529
} ,
530
530
} ,
531
531
{
@@ -595,10 +595,10 @@ module.exports = (env, argv) => {
595
595
loader : "file-loader" ,
596
596
options : {
597
597
esModule : false ,
598
- name : "[name].[fullhash :7].[ext]" ,
598
+ name : "[name].[hash :7].[ext]" ,
599
599
outputPath : getAssetOutputPath ,
600
600
publicPath : function ( url , resourcePath ) {
601
- // CSS image usages end up in the `bundles/[fullhash ]` output
601
+ // CSS image usages end up in the `bundles/[hash ]` output
602
602
// directory, so we adjust the final path to navigate up
603
603
// twice.
604
604
const outputPath = getAssetOutputPath ( url , resourcePath ) ;
@@ -610,7 +610,7 @@ module.exports = (env, argv) => {
610
610
} ,
611
611
{
612
612
test : / \. ( g i f | p n g | t t f | w o f f | w o f f 2 | x m l | i c o ) $ / ,
613
- // Use a content-based fullhash in the name so that we can set a long cache
613
+ // Use a content-based hash in the name so that we can set a long cache
614
614
// lifetime for assets while still delivering changes quickly.
615
615
oneOf : [
616
616
{
@@ -619,10 +619,10 @@ module.exports = (env, argv) => {
619
619
loader : "file-loader" ,
620
620
options : {
621
621
esModule : false ,
622
- name : "[name].[fullhash :7].[ext]" ,
622
+ name : "[name].[hash :7].[ext]" ,
623
623
outputPath : getAssetOutputPath ,
624
624
publicPath : function ( url , resourcePath ) {
625
- // CSS image usages end up in the `bundles/[fullhash ]` output
625
+ // CSS image usages end up in the `bundles/[hash ]` output
626
626
// directory, so we adjust the final path to navigate up
627
627
// twice.
628
628
const outputPath = getAssetOutputPath ( url , resourcePath ) ;
@@ -653,8 +653,8 @@ module.exports = (env, argv) => {
653
653
654
654
// This exports our CSS using the splitChunks and loaders above.
655
655
new MiniCssExtractPlugin ( {
656
- filename : useHMR ? "bundles/[name].css" : "bundles/[fullhash ]/[name].css" ,
657
- chunkFilename : useHMR ? "bundles/[name].css" : "bundles/[fullhash ]/[name].css" ,
656
+ filename : useHMR ? "bundles/[name].css" : "bundles/[hash ]/[name].css" ,
657
+ chunkFilename : useHMR ? "bundles/[name].css" : "bundles/[hash ]/[name].css" ,
658
658
ignoreOrder : false , // Enable to remove warnings about conflicting order
659
659
} ) ,
660
660
@@ -770,9 +770,9 @@ module.exports = (env, argv) => {
770
770
// directory and symlink it into place - this allows users who loaded
771
771
// an older version of the application to continue to access webpack
772
772
// chunks even after the app is redeployed.
773
- filename : "bundles/[fullhash ]/[name].js" ,
774
- chunkFilename : "bundles/[fullhash ]/[name].js" ,
775
- webassemblyModuleFilename : "bundles/[fullhash ]/[modulehash].wasm" ,
773
+ filename : "bundles/[hash ]/[name].js" ,
774
+ chunkFilename : "bundles/[hash ]/[name].js" ,
775
+ webassemblyModuleFilename : "bundles/[hash ]/[modulehash].wasm" ,
776
776
} ,
777
777
778
778
// configuration for the webpack-dev-server
0 commit comments