We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7c241c commit 73f4b01Copy full SHA for 73f4b01
index.js
@@ -12,7 +12,13 @@
12
import { Expression } from './src/expression';
13
import { Parser } from './src/parser';
14
15
-export default {
+export {
16
+ Expression,
17
+ Parser
18
+};
19
+
20
+// Backwards compatibility
21
+export default{
22
Parser: Parser,
23
Expression: Expression
24
};
rollup.config.js
@@ -3,7 +3,8 @@ export default {
3
output: {
4
file: 'dist/bundle.js',
5
format: 'umd',
6
- name: 'exprEval'
+ name: 'exprEval',
7
+ exports: 'named'
8
},
9
plugins: []
10
0 commit comments