Skip to content

Commit

Permalink
feat(evaluators): make evaluators exportable from the root
Browse files Browse the repository at this point in the history
  • Loading branch information
Anber committed May 11, 2020
1 parent bfe2a44 commit 26e9d8c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions evaluators.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const extractor = require('./lib/babel/evaluators/extractor').default;
const shaker = require('./lib/babel/evaluators/shaker').default;

module.exports = {
extractor,
shaker,
};
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
"bin/",
"lib/",
"*.d.ts",
"babel.js",
"evaluators.js",
"loader.js",
"react.js",
"rollup.js",
"server.js",
"babel.js",
"loader.js",
"stylelint-config.js"
],
"license": "MIT",
Expand Down

0 comments on commit 26e9d8c

Please sign in to comment.