mirror of
https://github.com/MisskeyIO/misskey
synced 2024-12-17 16:18:23 +09:00
17 lines
295 B
TypeScript
17 lines
295 B
TypeScript
/**
|
|
* Replace fontawesome symbols
|
|
*/
|
|
|
|
import { pattern, replacement } from '../../../src/common/build/fa';
|
|
|
|
export default () => ({
|
|
enforce: 'pre',
|
|
test: /\.(vue|js|ts)$/,
|
|
exclude: /node_modules/,
|
|
loader: 'string-replace-loader',
|
|
query: {
|
|
search: pattern,
|
|
replace: replacement
|
|
}
|
|
});
|