Skip to content

Commit

Permalink
WIP add logic
Browse files Browse the repository at this point in the history
  • Loading branch information
rstormsf committed Feb 25, 2018
1 parent 6dcf18f commit 9cda868
Show file tree
Hide file tree
Showing 20 changed files with 9,583 additions and 2,489 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
.env
2,471 changes: 39 additions & 2,432 deletions README.md

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions config-overrides.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const rewireMobX = require('react-app-rewire-mobx');
// const rewirePreact = require('react-app-rewire-preact');
// const {injectBabelPlugin} = require('react-app-rewired');

/* config-overrides.js */
module.exports = function override(config, env) {
// add a plugin
// config = injectBabelPlugin('emotion/babel',config)

// use the Preact rewire
if (env === "production") {
console.log("⚡ Production build with Preact");
// config = rewirePreact(config, env);
}

// use the MobX rewire
config = rewireMobX(config,env);

return config;
}
Loading

0 comments on commit 9cda868

Please sign in to comment.