filamentgroup / tablesaw

A group of plugins for responsive tables.
MIT License
5.48k stars 434 forks source link

Importing tablesaw with webpack causes an error resolving shoestring #235

Closed tmartensen closed 8 years ago

tmartensen commented 8 years ago

I'm having trouble importing tablesaw into a Webpack vendor file. When I attempt to import it:

import "tablesaw";

I get a Webpack compilation error stating Cannot resolve module 'shoestring' in <directory>. Seems to be a problem with the define in the UMD model definition around line 1940:

(function (factory) {
    if (typeof define === 'function' && define.amd) {
            // AMD. Register as an anonymous module.
            define(['shoestring'], factory); <-- error here
zachleat commented 8 years ago

Included with v3.0.0-beta.2