Closed devenini closed 1 year ago
Latest commit: |
af57ebd
|
Status: | ✅ Deploy successful! |
Preview URL: | https://a9fbfdc5.locomotive-boilerplate.pages.dev |
Branch Preview URL: | https://feature-update-node-version.locomotive-boilerplate.pages.dev |
Node 18 is not available in Cloudflare Pages for now but will be in the near future. Source
An easy quick fix is to downgrade the node version to v.17.x
 for projects with an environment that requires a specific version.
To my knowledge, it is not possible to ignore the NPM package and use the native binary if Dart Sass is already installed. However, using the JavaScript library provides a convenient way to manage dependencies with NPM and aligns with our other JavaScript build tasks. Additionally, prioritizing the use of NPM packages is important, especially as we are using more cloud-based deployment solutions like Cloudflare Pages.
This pull request updates the node version from
v14.17
tov17.9
, and replaces the deprecated node-sass module with sass. These updates will simplify maintenance and future-proof the boilerplate by ensuring the use of non-deprecated packages.Key changes :