Webpack: move Twemoji icons back to CopyPlugin

This commit is contained in:
Alex Gleason
2021-09-12 10:51:58 -05:00
parent 139b47eb22
commit 5eab5ec0a5
6 changed files with 48 additions and 19 deletions

View File

@@ -0,0 +1,11 @@
/**
* Static: functions related to static files.
* @module soapbox/utils/static
*/
import { join } from 'path';
import { FE_SUBDIRECTORY } from 'soapbox/build_config';
export const joinPublicPath = (...paths) => {
return join(FE_SUBDIRECTORY, ...paths);
};