mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 18:23:09 +02:00
18 lines
315 B
TypeScript
18 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
|
|
}
|
|
}]
|
|
});
|