Merge pull request #1311 from jquense/fix-plugin-position
Fixes bug where position was never set
This commit is contained in:
commit
30bc80000b
@ -243,7 +243,7 @@ export default class File {
|
||||
if (name) {
|
||||
if (typeof name === "object" && name.transformer) {
|
||||
plugin = name.transformer;
|
||||
position ||= name.position;
|
||||
position = name.position || position;
|
||||
} else if (typeof name === "string") {
|
||||
// this is a plugin in the form of "foobar" or "foobar:after"
|
||||
// where the optional colon is the delimiter for plugin position in the transformer stack
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user