mirror of
https://github.com/toeverything/AFFiNE.git
synced 2025-01-05 22:56:11 +03:00
fix: json import
This commit is contained in:
parent
b7dd879a27
commit
e7d11f20bb
@ -12,6 +12,12 @@ module.exports = config => {
|
||||
padding.push(postcss);
|
||||
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({
|
||||
minifyProperties: true,
|
||||
incrementalClassnames: true,
|
||||
|
@ -12,6 +12,12 @@ module.exports = config => {
|
||||
padding.push(postcss);
|
||||
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({
|
||||
minifyProperties: true,
|
||||
incrementalClassnames: true,
|
||||
|
Loading…
Reference in New Issue
Block a user