New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map Converter for supporting .twig extension #73

yosymfony opened this Issue Feb 18, 2016 · 0 comments


None yet
1 participant
Copy link

yosymfony commented Feb 18, 2016

The MirrorConverter class has been replaced by MapConverter class. This new converter works like MirrorConverter but has an additional behaviour: to map configured filename's extensions to others. This new feature lets you work more appropriately with pages using IDEs such as PHPStorm.

e.g: a index.twig page will be compiled as index.html.

The default configuration:

  'html.twig': 'html'
  'twig.html': 'html'
  'twig': 'html'

Additional tasks

Deals with issue #28

yosymfony added a commit that referenced this issue Feb 18, 2016

`MirrorConverter` class has been replaced by `MapConverter`. See feat…
…ure #73. This fix the ticket #28 "Support .twig extention"

yosymfony added a commit to spress/ that referenced this issue Mar 25, 2016

@yosymfony yosymfony closed this Mar 26, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment