Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
website: hide performance hint which make me feel bad (until I improv…
Browse files Browse the repository at this point in the history
…e the situation)
  • Loading branch information
MoOx committed Dec 8, 2018
1 parent 629fd54 commit d5f98a1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions website/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// @flow

import defaultWebpackConfig from "@phenomic/plugin-bundler-webpack/lib/webpack.config.js"; // eslint-disable-line

export default (config: PhenomicConfig) => {
const webpackConfig = defaultWebpackConfig(config);
return {
...webpackConfig,
resolve: {
...webpackConfig.resolve,
alias: {
...webpackConfig.resolve.alias,
"react-native$": "react-native-web",
},
},
performance: {
hints: false,
},
};
};

0 comments on commit d5f98a1

Please sign in to comment.