mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-08 17:03:08 +02:00
16 lines
294 B
TypeScript
16 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
|
|
}
|
|
});
|