roxiness / routify-starter

https://example.routify.dev/
198 stars 55 forks source link

How to configure 3rd-party dependencies #67

Closed Easy-Cloud-in closed 4 years ago

Easy-Cloud-in commented 4 years ago

How to configure 3rd-party dependencies and put

external: ['xxxxxxxxx'], globals:

in rollup.config.js

jakobrosenberg commented 4 years ago

If you mean how to attach them to the rollup config:

// rollup.config.js
rollupWrapper: rollup => {
  rollup.external = ['xxxxxxx']
  rollup.globals = ...
}