Skip to content

Commit

Permalink
feat: add codegen and prevel to the plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Aug 31, 2020
1 parent ce3ff75 commit 48923d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ let plugins = [
require("@babel/plugin-syntax-import-meta"),
[require("@babel/plugin-proposal-class-properties"), { loose: true }],
require("@babel/plugin-proposal-json-strings"),

// compile time code generation
require("babel-plugin-codegen"),
require("babel-plugin-preval"),
];


Expand Down

0 comments on commit 48923d6

Please sign in to comment.