Skip to content
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

Add extesion #12

Open
xeontem opened this issue Oct 15, 2018 · 1 comment
Open

Add extesion #12

xeontem opened this issue Oct 15, 2018 · 1 comment

Comments

@xeontem
Copy link

xeontem commented Oct 15, 2018

I use this plugin on the project. And now I need to write my own plugin for nunjucks. So, I have to add it by using 'addExtension'(https://mozilla.github.io/nunjucks/api.html#addextension) method from my configured env. but 'nunjucks-webpack-plugin' do not provide the env. Any ideas to solve this issue?

@alexander-akait
Copy link
Member

@xeontem i think we can add setupEnv(env) { /* You logic */ } function option to allow this, feel free to Send a PR

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

No branches or pull requests

2 participants