Skip to content
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.

Latest commit

 

History

History
18 lines (13 loc) · 553 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 553 Bytes

Test project for a bug using rollup with D3 micro-libraries.

Setup

$ npm install
$ npm run build

That will install the dependencies and build the simple JavaScript file.

If you grep the generated main.js for defaultLocale you'll find that it is called, but the function definition is not included.

You can also start up a webserver and load index.html in a browser. In the console you'll see a ReferenceError stating that defaultLocale is not defined. It is visible in the sourcemap, but it isn't present in the generated file.