You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Emit the asset in the specified folder instead relative to 'output.path'. This should only be needed when custom 'publicPath' is specified to match the folder structure there.
* Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.
2706
2715
*/
2707
2716
filename?: FilenameTemplate;
2717
+
/**
2718
+
* Emit the asset in the specified folder instead relative to 'output.path'. This should only be needed when custom 'publicPath' is specified to match the folder structure there.
2719
+
*/
2720
+
outputPath?: AssetModuleOutputPath;
2708
2721
/**
2709
2722
* The 'publicPath' specifies the public URL address of the output files when referenced in a browser.
Copy file name to clipboardExpand all lines: schemas/WebpackOptions.json
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,9 @@
108
108
"filename": {
109
109
"$ref": "#/definitions/FilenameTemplate"
110
110
},
111
+
"outputPath": {
112
+
"$ref": "#/definitions/AssetModuleOutputPath"
113
+
},
111
114
"publicPath": {
112
115
"$ref": "#/definitions/RawPublicPath"
113
116
}
@@ -136,6 +139,19 @@
136
139
}
137
140
]
138
141
},
142
+
"AssetModuleOutputPath": {
143
+
"description": "Emit the asset in the specified folder instead relative to 'output.path'. This should only be needed when custom 'publicPath' is specified to match the folder structure there.",
Copy file name to clipboardExpand all lines: test/__snapshots__/Cli.basictest.js.snap
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1283,6 +1283,19 @@ Object {
1283
1283
"multiple": false,
1284
1284
"simpleType": "string",
1285
1285
},
1286
+
"module-generator-asset-output-path": Object {
1287
+
"configs": Array [
1288
+
Object {
1289
+
"description": "Emit the asset in the specified folder instead relative to 'output.path'. This should only be needed when custom 'publicPath' is specified to match the folder structure there.",
1290
+
"multiple": false,
1291
+
"path": "module.generator.asset.outputPath",
1292
+
"type": "string",
1293
+
},
1294
+
],
1295
+
"description": "Emit the asset in the specified folder instead relative to 'output.path'. This should only be needed when custom 'publicPath' is specified to match the folder structure there.",
"description": "Emit the asset in the specified folder instead relative to 'output.path'. This should only be needed when custom 'publicPath' is specified to match the folder structure there.",
"description": "Emit the asset in the specified folder instead relative to 'output.path'. This should only be needed when custom 'publicPath' is specified to match the folder structure there.",
0 commit comments