node-sass
node-sass copied to clipboard
v5 Electron Support (5-8)
Adding support for electron v5-8. PR'ing to v5 due to node-gyp bump
Thank you @glenn2223 for your patience! I'll check if my build machinery can build node-sass for electron as well.
Ref: Commit Fix: Extensions don't honour argument arch
Test 1: Step 5: Line 4 setting arch as ia32, Step 5: Line 447 save path uses x64
Test 2: Success
Thanks @saper
This seems to have a lot more random formatting churn and changes to the overall build setup than the last PR. What has changed that required this?
- Formatting:
Sorry I was working on another project at the same time so I just automatically hit my format shortcut. I can revert this if you wish? - Fix: (Fix: Extensions don't honour argument
target-arch)
Did you want this on another PR for this? - Electron targeting:
I wasn't able to find a way to run electron commands (for each version) from the CI so I added a
--electron-versionargument. This added a function and expanded a couple of lines that I've added. This also has the added benefit of targeting an electron build without electron