1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-12-26 09:18:33 +00:00

Reference uglify via yarn rather than reaching in to node_modules

This commit is contained in:
Nathan Downs 2019-05-28 17:13:07 -07:00
parent cc12da6fff
commit c116c26cbc

View File

@ -34,9 +34,9 @@ fs.writeFileSync(
);
spawnSync(
'node',
'yarnpkg',
[
path.join(__dirname, '../../', 'node_modules/uglify-js/bin/uglifyjs'),
'uglifyjs',
'--verbose',
file('twemoji.js'),
'-o',