Closed RichadoM closed 7 months ago
vite: true, "postcssOptions": { "plugins": { "postcss-preset-env": { "browsers": ["last 2 versions"] }, "postcss-import": false, "postcss-short": { "prefix": "x" } }, "syntax": "sugarss", "parser": "sugarss", "stringifier": "sugarss" }, 按照文档中的配置,并安装了postcss-preset-env,postcss-import,postcss-short 构建中报错:[vite] Internal server error: parser is not a function
vite: true, "postcssOptions": { "plugins": { "postcss-preset-env": { "browsers": ["last 2 versions"] }, "postcss-import": false, "postcss-short": { "prefix": "x" } }, "syntax": "sugarss", "parser": "sugarss", "stringifier": "sugarss" },
期望可以正常编译
No response
2.0.0
vite 模式可以通过 https://v2.ice.work/docs/config/about/#postcssrc- 自己配置下
postcssrc这块是否有配置文档呢?
Describe the bug
vite: true, "postcssOptions": { "plugins": { "postcss-preset-env": { "browsers": ["last 2 versions"] }, "postcss-import": false, "postcss-short": { "prefix": "x" } }, "syntax": "sugarss", "parser": "sugarss", "stringifier": "sugarss" },
按照文档中的配置,并安装了postcss-preset-env,postcss-import,postcss-short 构建中报错:[vite] Internal server error: parser is not a functionExpected behavior
期望可以正常编译
Actual behavior
No response
Version of ice.js
2.0.0
Content of build.json or ice.config.mts
No response
Additional context
No response