Closed geoctrl closed 5 years ago
currently, if I try to import just the classname-helpers.js like this:
classname-helpers.js
import { a } from 'kremling/src/classname-helpers';
it doesn't work, because the export name a is defined in kremling.js
a
kremling.js
the problem is that kremling.js also requires react and react-dom - which aren't required when only using the classname helpers
would be nice to separate these
currently, if I try to import just the
classname-helpers.js
like this:import { a } from 'kremling/src/classname-helpers';
it doesn't work, because the export name
a
is defined inkremling.js
the problem is that
kremling.js
also requires react and react-dom - which aren't required when only using the classname helperswould be nice to separate these