-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow specify dest sourcemaps option as string #160
Conversation
@@ -226,7 +224,7 @@ vfs.dest('./', { | |||
}); | |||
``` | |||
|
|||
Type: `Boolean` or `Object` | |||
Type: `Boolean`, `String` or `Object` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs more docs on what each type does
@contra Done. |
@@ -199,7 +199,8 @@ Default: `true` (always overwrite existing files) | |||
|
|||
##### `options.sourcemaps` | |||
|
|||
Enables sourcemap support on files passed through the stream. Will write inline soucemaps if specified as `true`. Uses [gulp-sourcemaps] under the hood. | |||
Enables sourcemap support on files passed through the stream. Will write inline soucemaps if specified as `true`. | |||
Will write sourcemaps file in relative to destination folder if specified as `string`. Uses [gulp-sourcemaps] under the hood. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be clearer to say "Specifying a string is shorthand for the path option"
Fixed. |
Allow specify dest sourcemaps option as string
@contra Will you publish patch release? |
This requires a minor release |
@phated Oh, sure. |
I tagged this. Will publish sometime after the CI tests run |
But tests are already passed in CI. |
Published as 2.4.0 |
Nice. Thanks. |
Allow specify dest sourcemaps option as string
I think this will be much prettier and consistently.