Fix import path and remove unused CopyWebpackPlugin
- Fixed import path for avatar_devchat.svg in MessageHeader/index.tsx. - Removed unused CopyWebpackPlugin from webpack.config.js.
This commit is contained in:
parent
7062d423ae
commit
8da3083e9e
@ -2,7 +2,7 @@ import React from "react";
|
|||||||
import { Text, Flex, Avatar, ActionIcon, Tooltip, CopyButton, SimpleGrid } from "@mantine/core";
|
import { Text, Flex, Avatar, ActionIcon, Tooltip, CopyButton, SimpleGrid } from "@mantine/core";
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import SvgAvatarDevChat from '/avatar_devchat.svg';
|
import SvgAvatarDevChat from './avatar_devchat.svg';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import SvgAvatarUser from './avatar_spaceman.png';
|
import SvgAvatarUser from './avatar_spaceman.png';
|
||||||
import { IconCheck, IconCopy, Icon360, IconEdit, IconTrash } from "@tabler/icons-react";
|
import { IconCheck, IconCopy, Icon360, IconEdit, IconTrash } from "@tabler/icons-react";
|
||||||
|
@ -168,11 +168,6 @@ const webviewConfig = {
|
|||||||
filename: 'welcome.html',
|
filename: 'welcome.html',
|
||||||
chunks: ['welcome']
|
chunks: ['welcome']
|
||||||
}),
|
}),
|
||||||
new CopyWebpackPlugin({
|
|
||||||
patterns: [
|
|
||||||
{ from: 'assets', to: 'assets' },
|
|
||||||
],
|
|
||||||
})
|
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user