Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
楚学文
node-sass
Commits
ef7d11ef
Commit
ef7d11ef
authored
Aug 16, 2015
by
Michael Mifsud
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1063 from saper/requirepangyp
Locate pangyp via module API
parents
81c5446b
546e11ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
build.js
scripts/build.js
+1
-1
No files found.
scripts/build.js
View file @
ef7d11ef
...
...
@@ -128,7 +128,7 @@ function build(options) {
process
.
exit
(
1
);
}
var
args
=
[
path
.
join
(
'node_modules'
,
'pangyp'
,
'bin'
,
'node-gyp'
),
'rebuild'
].
concat
(
var
args
=
[
require
.
resolve
(
path
.
join
(
'pangyp'
,
'bin'
,
'node-gyp.js'
)
),
'rebuild'
].
concat
(
[
'libsass_ext'
,
'libsass_cflags'
,
'libsass_ldflags'
,
'libsass_library'
].
map
(
function
(
subject
)
{
return
[
'--'
,
subject
,
'='
,
process
.
env
[
subject
.
toUpperCase
()]
||
''
].
join
(
''
);
})).
concat
(
options
.
args
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment