1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-10-02 21:02:03 +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',