File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,9 @@ Each `assets` object represents an `output` file emitted from the compilation. T
81
81
' immutable' : true , // A flag telling whether the asset can be long term cached (contains a hash)
82
82
' size' : 1058 , // The size in bytes, only becomes available after asset has been emitted
83
83
' development' : true , // A flag telling whether the asset is only used for development and doesn't count towards user-facing assets
84
- ' hotModuleReplacement' : true // A flag telling whether the asset ships data for updating an existing application (HMR)
84
+ ' hotModuleReplacement' : true , // A flag telling whether the asset ships data for updating an existing application (HMR)
85
+ ' sourceFilename' : ' originalfile.js' , // sourceFilename when asset was created from a source file (potentially transformed)
86
+ ' javascriptModule' : true // true, when asset is javascript and an ESM
85
87
}
86
88
}
87
89
```
You can’t perform that action at this time.
0 commit comments