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

A simple project to illustrate a bug importing from d3-format

Notifications You must be signed in to change notification settings

darthmall/rollup-d3-format-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A simple project to illustrate a bug importing from d3-format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published