Skip to content

Commit 587b687

Browse files
committed
del transform sort
1 parent a61c4f5 commit 587b687

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/webpack-plugin/lib

packages/webpack-plugin/lib/platform/style/wx/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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]+)\((.+)\)/)

packages/webpack-plugin/lib/runtime/components/react/utils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ export function parseValues (str: string, char = ' ') {
335335
function 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]+)\((.+)\)/)

0 commit comments

Comments
 (0)