Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

[BUG]关闭pxToRpx后控制台出现错误信息 #1377

Closed
cuzfinal opened this issue Nov 24, 2020 · 2 comments
Closed

[BUG]关闭pxToRpx后控制台出现错误信息 #1377

cuzfinal opened this issue Nov 24, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@cuzfinal
Copy link
Contributor

bug 描述
关闭pxToRpx后在控制台会出现PostCSS的提示

You did not set any plugins, parser, or stringifier. Right now, PostCSS does nothing. Pick plugins for your case on https://www.postcss.parts/ and use them in postcss.config.js.

复现步骤
关闭pxToRpx

期望结果
控制台无错误信息

复现代码

//remax.config.js
const less = require('@remax/plugin-less');

module.exports = {
    plugins: [less()],
    pxToRpx: false,
};

版本信息:

  • remax 版本: 2.7.7
  • 小程序端 微信小程序
  • 开发环境 windows

其他信息
428CE384-62C7-4179-BBBD-C01DF8410CCF

@cuzfinal cuzfinal added the bug Something isn't working label Nov 24, 2020
@Darmody
Copy link
Contributor

Darmody commented Nov 24, 2020

这个是 postcss 插件的警告确实有点烦人,不过不会有影响

@Darmody Darmody closed this as completed Nov 24, 2020
@Darmody
Copy link
Contributor

Darmody commented Nov 24, 2020

后续看怎么把它屏蔽掉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants