mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix(ui): 🐛 postcss / customize-cra compatibility
ref https://github.com/arackaf/customize-cra/issues/315\#issuecomment-1017081592
This commit is contained in:
parent
05e094edd7
commit
4a2a4272ba
1 changed files with 10 additions and 1 deletions
|
|
@ -1,5 +1,10 @@
|
|||
const { getThemeVariables } = require("antd/dist/theme");
|
||||
const { override, fixBabelImports, addLessLoader } = require("customize-cra");
|
||||
const {
|
||||
override,
|
||||
fixBabelImports,
|
||||
addLessLoader,
|
||||
adjustStyleLoaders,
|
||||
} = require("customize-cra");
|
||||
|
||||
module.exports = override(
|
||||
fixBabelImports("import", {
|
||||
|
|
@ -17,5 +22,9 @@ module.exports = override(
|
|||
}),
|
||||
},
|
||||
},
|
||||
}),
|
||||
adjustStyleLoaders(({ use: [, , postcss] }) => {
|
||||
const postcssOptions = postcss.options;
|
||||
postcss.options = { postcssOptions };
|
||||
})
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue