File tree Expand file tree Collapse file tree
packages/webpack-plugin/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -422,7 +422,7 @@ module.exports = function getSpec({ warn, error }) {
422422 if ( Array . isArray ( value ) || cssVariableExp . test ( value ) ) return { prop, value }
423423 const values = parseValues ( value )
424424 // Todo transform 排序不一致时,transform动画会闪烁,故这里同样的排序输出 transform
425- values . sort ( )
425+ // values.sort()
426426 const transform = [ ]
427427 values . forEach ( item => {
428428 const match = item . match ( / ( [ / \w ] + ) \( ( .+ ) \) / )
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ export function parseValues (str: string, char = ' ') {
335335function parseTransform ( transformStr : string ) {
336336 const values = parseValues ( transformStr )
337337 // Todo transform 排序不一致时,transform动画会闪烁,故这里同样的排序输出 transform
338- values . sort ( )
338+ // values.sort()
339339 const transform : { [ propName : string ] : string | number | number [ ] } [ ] = [ ]
340340 values . forEach ( item => {
341341 const match = item . match ( / ( [ / \w ] + ) \( ( .+ ) \) / )
You can’t perform that action at this time.
0 commit comments