nunjucks-loader icon indicating copy to clipboard operation
nunjucks-loader copied to clipboard

Options are not being passed to browser environment

Open niksy opened this issue 6 years ago • 0 comments

Changes were introduced in https://github.com/at0g/nunjucks-loader/commit/34ba78955d40c80b5a05e70b128512ed1a276294, but options are not being passed to browser environment. I think it has to do with hasRun variable which returns undefined in every other pass of using loader inside module consumed via Webpack. Maybe envOpts should be propagated to top scope?

niksy avatar May 17 '18 08:05 niksy