silentmatt / expr-eval

Mathematical expression evaluator in JavaScript
http://silentmatt.com/javascript-expression-evaluator/
MIT License
1.18k stars 239 forks source link

include source files in npm bundle #226

Closed gka closed 4 years ago

gka commented 4 years ago

including the source files would be useful if one wants to use and include a customize bundle of expr-eval in a project.

this would allow doing partial imports such as

import { Expression } from 'expr-eval/src/expression';

which are currently impossible.

gka commented 4 years ago

due to inaction on this PR we've decided to fork expr-eval under https://github.com/datawrapper/expr-eval and https://www.npmjs.com/package/@datawrapper/expr-eval.