File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -125,9 +125,9 @@ class WebpackConfig {
125
125
setPublicPath ( publicPath ) {
126
126
if ( publicPath . includes ( '://' ) === false && publicPath . indexOf ( '/' ) !== 0 ) {
127
127
// technically, not starting with "/" is legal, but not
128
- // what you want in most cases. Let's not let the user make
129
- // a mistake (and we can always change this later) .
130
- throw new Error ( 'The value passed to setPublicPath() must start with "/" or be a full URL (http://...)' ) ;
128
+ // what you want in most cases. Let's warn the user that
129
+ // they might be making a mistake .
130
+ logger . warning ( 'The value passed to setPublicPath() should usually start with "/" or be a full URL (http://...)' ) ;
131
131
}
132
132
133
133
// guarantee a single trailing slash
You can’t perform that action at this time.
0 commit comments