1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| import styleImport from 'vite-plugin-style-import';
|
| export function configStyleImportConfig() {
| const pwaPlugin = styleImport({
| libs: [
| {
| libraryName: 'ant-design-vue',
| esModule: true,
| resolveStyle: (name) => {
| return `ant-design-vue/es/${name}/style/css`;
| },
| },
| ],
| });
| return pwaPlugin;
| }
|
|