File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ module.exports = {
68
68
* ok to use the publicPath as the manifestKeyPrefix.
69
69
*
70
70
* @param {WebpackConfig } webpackConfig
71
+ * @return {void }
71
72
*/
72
73
validatePublicPathAndManifestKeyPrefix ( webpackConfig ) {
73
74
if ( webpackConfig . manifestKeyPrefix !== null ) {
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ describe('path-util getContentBase()', () => {
32
32
const config = createConfig ( ) ;
33
33
config . runtimeConfig . useDevServer = true ;
34
34
config . runtimeConfig . devServerUrl = 'http://localhost:8080/' ;
35
- config . outputPath = isWindows ? 'C:\\tmp\\public\\build' : '/tmp/public/build' ;
35
+ config . outputPath = isWindows ? 'C:\\tmp\\public\\build' : '/tmp/public/build' ;
36
36
config . setPublicPath ( '/build/' ) ;
37
37
config . addEntry ( 'main' , './main' ) ;
38
38
@@ -83,7 +83,7 @@ describe('path-util getContentBase()', () => {
83
83
it ( 'when outputPath and publicPath are incompatible, manifestKeyPrefix must be set' , ( ) => {
84
84
const config = createConfig ( ) ;
85
85
86
- config . outputPath = isWindows ? 'C:\\tmp\\public\\build' : '/tmp/public/build' ;
86
+ config . outputPath = isWindows ? 'C:\\tmp\\public\\build' : '/tmp/public/build' ;
87
87
config . addEntry ( 'main' , './main' ) ;
88
88
// pretend we're installed to a subdirectory
89
89
config . setPublicPath ( '/subdirectory/build' ) ;
You can’t perform that action at this time.
0 commit comments