1
0
forked from mirror/misskey
misskey/webpack/module/rules/fa.ts
2018-02-16 02:53:54 +09:00

17 lines
294 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: 'replace',
query: {
search: pattern.toString(),
replace: replacement
}
});