Closed timjchin closed 5 years ago
@timjchin Interesting observation about the output value. I actually used rollup's own lib example config as the basis for my own: https://github.com/rollup/rollup-starter-lib/blob/master/rollup.config.js
I've verified as well that the resulting build artifact (dist/index.js
) does indeed export a default module:
Having said that, it's possible that the rollup example is stale. I'll update the config per the docs (and may even to a PR for rollup's example).
Closing this in favor of https://github.com/fullstorydev/fullstory-browser-sdk/pull/11!
This PR makes two changes:
rollup
referenced innpm run build
was swapped to use the executable found in node moduleses
is a valid option for format (search foroutput.format
), and the output from rollup didn't seem to contain our export?