mirror of
https://github.com/twitter/twemoji.git
synced 2024-12-27 12:18:44 +00:00
Reference uglify via yarn rather than reaching in to node_modules
This commit is contained in:
parent
cc12da6fff
commit
c116c26cbc
@ -34,9 +34,9 @@ fs.writeFileSync(
|
|||||||
);
|
);
|
||||||
|
|
||||||
spawnSync(
|
spawnSync(
|
||||||
'node',
|
'yarnpkg',
|
||||||
[
|
[
|
||||||
path.join(__dirname, '../../', 'node_modules/uglify-js/bin/uglifyjs'),
|
'uglifyjs',
|
||||||
'--verbose',
|
'--verbose',
|
||||||
file('twemoji.js'),
|
file('twemoji.js'),
|
||||||
'-o',
|
'-o',
|
||||||
|
Loading…
Reference in New Issue
Block a user