Skip to content

Commit

Permalink
change examples basic references to build and not package (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
dagda1 authored and jaredpalmer committed Sep 15, 2018
1 parent 3a267cf commit cd468f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/basic/src/client.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { hydrate } from 'react-dom';
import { BrowserRouter } from 'react-router-dom';
import { ensureReady, After } from '@jaredpalmer/after';
import { ensureReady, After } from '../../../build';
import './client.css';
import routes from './routes';

Expand Down
2 changes: 1 addition & 1 deletion examples/basic/src/routes.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import { asyncComponent } from '@jaredpalmer/after';
import { asyncComponent } from '../../../build/asyncComponent';

export default [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/src/server.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import express from 'express';
import { render } from '@jaredpalmer/after';
import { render } from '../../../build';
import routes from './routes';

const assets = require(process.env.RAZZLE_ASSETS_MANIFEST);
Expand Down

1 comment on commit cd468f6

@balramsinghindia
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

basic references to build and not package was breaking the example to work. I had to rollback this change to run the example in my machine.

Please sign in to comment.