1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-02 16:58:49 +09:00
misskey/webpack/module/rules/fa.ts
2018-02-15 19:59:07 +09:00

19 lines
315 B
TypeScript

/**
* Replace fontawesome symbols
*/
import { pattern, replacement } from '../../../src/common/build/fa';
export default () => ({
enforce: 'pre',
test: /\.(vue|js|ts)$/,
exclude: /node_modules/,
use: [{
loader: 'replace-string-loader',
options: {
search: pattern,
replace: replacement
}
}]
});