You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since version 5, I notice a change in the output destination and was wondering if there was I way to change it.
Before ( Maizzle Version: 4.8.9), when launching a build, the destination path contained only the source template HTML.
That allowed us to manage multi-language in only one html file.
For example, in english the config.production_en.js looked like this:
The build email ill be placed in build_production/my_project_name/en/emails/my_project_name
Which means, if we want to have multiple languages, that we would have: build_production/my_project_name/en/emails/my_project_name/email.html build_production/my_project_name/fr/emails/my_project_name/email.html
etc.
Where we would like to have: build_production/my_project_name/en/email.html build_production/my_project_name/fr/email.html
Is it possible to remove in the ouput path the folder structure from the emails folder?
The only workaround so far that we have is to create multiple HTML files or to create components, but it is much less practical.
The text was updated successfully, but these errors were encountered:
Since version 5, I notice a change in the output destination and was wondering if there was I way to change it.
Before ( Maizzle Version: 4.8.9), when launching a build, the destination path contained only the source template HTML.
That allowed us to manage multi-language in only one html file.
For example, in english the
config.production_en.j
s looked like this:and for french, the the
config.production_fr.j
s looked like this:That way, in the build_production folder, we had only one folder with ou project name and inside, one folder for EN and one folder for FR.
build_production/my_project_name/en/email.html
build_production/my_project_name/fr/email.html
But with Maizzle 5, the output path keeps the folder structure no matter what.
So if I have a config.production_en.js like this:
The build email ill be placed in
build_production/my_project_name/en/emails/my_project_name
Which means, if we want to have multiple languages, that we would have:
build_production/my_project_name/en/emails/my_project_name/email.html
build_production/my_project_name/fr/emails/my_project_name/email.html
etc.
Where we would like to have:
build_production/my_project_name/en/email.html
build_production/my_project_name/fr/email.html
Is it possible to remove in the ouput path the folder structure from the
emails
folder?The only workaround so far that we have is to create multiple HTML files or to create components, but it is much less practical.
The text was updated successfully, but these errors were encountered: