Skip to content

Instantly share code, notes, and snippets.

@javascripto
Last active March 31, 2020 04:49
Show Gist options
  • Select an option

  • Save javascripto/386095a8a0e283cecf5c7b10d86a9d64 to your computer and use it in GitHub Desktop.

Select an option

Save javascripto/386095a8a0e283cecf5c7b10d86a9d64 to your computer and use it in GitHub Desktop.
Como instalar versões diferentes de uma lib no mesmo projeto para usar em lugares diferentes

Instalar versões diferentes de uma lib no mesmo projeto para usar em lugares diferentes

npm install \
    ngx-mask-legacy@npm:ngx-mask@2.9.6 \
    ngx-mask@npm:ngx-mask@8.1.7
import { ... } from 'ngx-mask-legacy'; // nos lugares que já usam
import { ... } from 'ngx-mask'; // nos modulos novos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment