Skip to content

Commit f4b51a0

Browse files
yingyeGcaufy
authored andcommitted
Fixes Tencent#1286
1 parent 04023b1 commit f4b51a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/wepy-plugin-autoprefixer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wepy-plugin-autoprefixer",
3-
"version": "1.5.10",
3+
"version": "1.6.0",
44
"description": "wepy autoprefixer plugin",
55
"main": "lib/index.js",
66
"keywords": [

packages/wepy-plugin-autoprefixer/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default class {
3737

3838
let prefixer = postcss([ autoprefixer(this.setting.config) ]);
3939

40-
prefixer.process(op.code).then((result) => {
40+
prefixer.process(op.code, { from: undefined }).then((result) => {
4141
op.code = result.css;
4242
op.next();
4343
}).catch(e => {

0 commit comments

Comments
 (0)