samedi 4 mars 2017

How to let Mirage passthrough node modules access?

I am using SimpleMDE which seems send a request to /node_modules/typo-js/dictionaries/en_US/en_US.dic internally.

enter image description here

How to pass this GET request using Mirage?

I am using the following setting with no effect.

  this.passthrough('node_modules/**');
  this.passthrough('node_modules/typo-js/dictionaries/en_US/en_US.dic');




Aucun commentaire:

Enregistrer un commentaire