1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-12-27 21:15:19 +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( spawnSync(
'node', 'yarnpkg',
[ [
path.join(__dirname, '../../', 'node_modules/uglify-js/bin/uglifyjs'), 'uglifyjs',
'--verbose', '--verbose',
file('twemoji.js'), file('twemoji.js'),
'-o', '-o',