-
Notifications
You must be signed in to change notification settings - Fork 506
Open
Labels
scope: docsDocumentation could be improved. Or changes that only affect docsDocumentation could be improved. Or changes that only affect docstopic: externalsRelated to configuring externals for RollupRelated to configuring externals for Rollup
Description
Current Behavior
My project has a few dependencies (qs
, fast-text-encoding
and es-cookie
). When I build the UMD bundle, the dependencies are not bundled together with my code.
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('fast-text-encoding'), require('qs'), require('es-cookie')) :
typeof define === 'function' && define.amd ? define(['exports', 'fast-text-encoding', 'qs', 'es-cookie'], factory) :
(global = global || self, factory(global.createAuth0Client = {}, null, global.qs, global.Cookies));
}(this, function (exports, fastTextEncoding, qs, Cookies) { 'use strict';
// ... some code
}));
Expected behavior
I expect all my dependencies to be bundled together with my code
Suggested solution(s)
Maybe it's a rollup config? I have no idea :(
Your environment
Software | Version(s) |
---|---|
TSDX | 0.8.0 |
TypeScript | 3.5.3 |
Browser | n/a |
npm/Yarn | npm 6.9.0 |
Operating System | windows 10 |
jimmyn, aloha-zzz, MagnusBrzenk, alesso-x, make-github-pseudonymous-again and 5 more
Metadata
Metadata
Assignees
Labels
scope: docsDocumentation could be improved. Or changes that only affect docsDocumentation could be improved. Or changes that only affect docstopic: externalsRelated to configuring externals for RollupRelated to configuring externals for Rollup