roots / palette-webpack-plugin

Generate a JSON file containing your color palette from existing Sass maps and/or Tailwind.
MIT License
46 stars 7 forks source link

Fix incorrect minimum node version #3

Closed oxyc closed 4 years ago

oxyc commented 4 years ago

Array#flatMap requires v11.0.0 according to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/flatMap#Browser_compatibility

oxyc commented 4 years ago

Use case where this actually matters:

I've added an .npmrc specifying engine-strict=true so that npm install will fail if I'm on a node version which cannot run npm run build in sage

Log1x commented 4 years ago

Sorry I didn't have this repo watched :(

Thank you!