mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-12 14:40:22 +08:00
@@ -12,6 +12,12 @@ module.exports = config => {
|
|||||||
padding.push(postcss);
|
padding.push(postcss);
|
||||||
nxConfig.plugins.splice(postcssIndex, 1);
|
nxConfig.plugins.splice(postcssIndex, 1);
|
||||||
|
|
||||||
|
const jsonIndex = nxConfig.plugins.findIndex(p => p?.name === 'json');
|
||||||
|
if (jsonIndex !== -1) {
|
||||||
|
padding.push(nxConfig.plugins[jsonIndex]);
|
||||||
|
nxConfig.plugins.splice(jsonIndex, 1);
|
||||||
|
}
|
||||||
|
|
||||||
const style9Plugin = style9({
|
const style9Plugin = style9({
|
||||||
minifyProperties: true,
|
minifyProperties: true,
|
||||||
incrementalClassnames: true,
|
incrementalClassnames: true,
|
||||||
|
|||||||
@@ -12,6 +12,12 @@ module.exports = config => {
|
|||||||
padding.push(postcss);
|
padding.push(postcss);
|
||||||
nxConfig.plugins.splice(postcssIndex, 1);
|
nxConfig.plugins.splice(postcssIndex, 1);
|
||||||
|
|
||||||
|
const jsonIndex = nxConfig.plugins.findIndex(p => p?.name === 'json');
|
||||||
|
if (jsonIndex !== -1) {
|
||||||
|
padding.push(nxConfig.plugins[jsonIndex]);
|
||||||
|
nxConfig.plugins.splice(jsonIndex, 1);
|
||||||
|
}
|
||||||
|
|
||||||
const style9Plugin = style9({
|
const style9Plugin = style9({
|
||||||
minifyProperties: true,
|
minifyProperties: true,
|
||||||
incrementalClassnames: true,
|
incrementalClassnames: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user