mirror of
https://github.com/twitter/twemoji.git
synced 2024-06-15 03:35:16 +00:00
fix: update yarn command line in build script
This commit is contained in:
parent
82ebd9f9bd
commit
eb4e4abc31
7
.gitignore
vendored
7
.gitignore
vendored
@ -3,3 +3,10 @@ node_modules/
|
||||
build
|
||||
dist/
|
||||
.npmrc
|
||||
.yarn/*
|
||||
!.yarn/cache
|
||||
!.yarn/patches
|
||||
!.yarn/plugins
|
||||
!.yarn/releases
|
||||
!.yarn/sdks
|
||||
!.yarn/versions
|
1
.yarnrc.yml
Normal file
1
.yarnrc.yml
Normal file
@ -0,0 +1 @@
|
||||
nodeLinker: node-modules
|
@ -22,7 +22,7 @@ This guarantees that you will always use the latest version of the library.
|
||||
|
||||
If, instead, you'd like to include the latest version explicitly, you can add the following tag:
|
||||
```html
|
||||
<script src="https://twemoji.maxcdn.com/v/14.0.2/twemoji.min.js" integrity="sha384-32KMvAMS4DUBcQtHG6fzADguo/tpN1Nh6BAJa2QqZc6/i0K+YPQE+bWiqBRAWuFs" crossorigin="anonymous"></script>
|
||||
<script src="https://unpkg.com/twemoji@14.0.2/dist/twemoji.min.js" integrity="sha384-ICOlZarapRIX6UjKPcWKEpubjg7lGADN7Y9fYP4DU9zm0aPFhgnP5ef+XFaPyKv+" crossorigin="anonymous"></script>
|
||||
```
|
||||
|
||||
### Download
|
||||
|
@ -39,7 +39,7 @@ fs.writeFileSync(
|
||||
);
|
||||
|
||||
spawnSync(
|
||||
'yarnpkg',
|
||||
'yarn',
|
||||
[
|
||||
'uglifyjs',
|
||||
'--verbose',
|
||||
|
Loading…
Reference in New Issue
Block a user