Skip to content

Commit

Permalink
🔧💩 Module resolution based on .env. This needs revision once this PR …
Browse files Browse the repository at this point in the history
  • Loading branch information
D1no committed Jan 28, 2019
1 parent 5202817 commit f05b077
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NODE_PATH=src
6 changes: 3 additions & 3 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { Component } from "react";

import Theme from "./containers/theme";
import Provider from "./providers";
import Theme from "containers/theme";
import Provider from "providers";

import Home from "./containers/home";
import Home from "containers/home";

class App extends Component {
render() {
Expand Down
4 changes: 2 additions & 2 deletions src/containers/home/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import React from "react";
import { Box } from "rebass";

import Header from "../../components/header";
import CoinbaseProductsQuery from "../../providers/coinbase/productStats";
import Header from "components/header";
import CoinbaseProductsQuery from "providers/coinbase/productStats";

import styled from "styled-components/macro";

Expand Down

0 comments on commit f05b077

Please sign in to comment.