"emulsify" String Replace on INIT
MinhInBlack opened this issue · comments
emulsify version (see releases): 4.2.2
node version: 16.13
npm (or yarn) version: 8.1.2
What you did:
I executed emulsify init
to create a new theme called, "mytheme".
What happened:
Emulsify doesn't change every instance of "emulsify" to their respective theme name. Requires manual change.
Example:
In my rendered theme (mytheme), there are twig functions {{ attach_library('emulsify/default') }}
that hasn't been updated to the new theme name. Also in .theme
file, my preset theme functions (ex. emulsify_preprocess_page()
) does not get updated as well.
Suggested solution:
Maybe have string replace include twig files and .theme files.