itgalaxy / nunjucks-webpack-plugin

A webpack plugin for nunjucks.
MIT License
27 stars 12 forks source link

Make webpack compilation hash value available to templates #13

Closed burt202 closed 5 years ago

burt202 commented 5 years ago

travis erroring with:

8.51s$ npm install -g npm@latest
/home/travis/.nvm/versions/node/v4.9.1/bin/npm -> 85
      let notifier = require('update-notifier')({pkg})
      ^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)

Maybe we can drop node 4 support as it is "end-of-life"??https://github.com/nodejs/Release/blob/master/README.md#end-of-life-releases

alexander-akait commented 5 years ago

@burt202 Yes, but we should do this in other PR

alexander-akait commented 5 years ago

Need rebase

burt202 commented 5 years ago

This should be ready to merge now.