Skip to content
This repository has been archived by the owner on Dec 6, 2019. It is now read-only.

Major overhaul! #30

Merged
merged 1 commit into from
Nov 21, 2017
Merged

Major overhaul! #30

merged 1 commit into from
Nov 21, 2017

Conversation

satazor
Copy link
Contributor

@satazor satazor commented Nov 20, 2017

Here's a quick summary:

Closes #18, #15, #12, #11, #5, #4.


Here's the bundle size improvements:

before:
screen shot 2017-11-20 at 00 26 56

after:
screen shot 2017-11-20 at 00 27 11


What's next:

  • Create a postcss-preset-moxy
  • Create a proper README

// If it's not a public file, render the app!
app.use(
// There's no compilation to be done, just set the `res.locals`
(req, res, next) => {

Choose a reason for hiding this comment

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

Isn't this block duplicated? Locals are already being copied above

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep it is. removed!

memoryFs,
watchDelay: 50,
watchOptions: { poll },
notify: { icon: `${publicDir}/favicon.ico` }, // OS notitifications!

Choose a reason for hiding this comment

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

notitifications -> notifications

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

src/App.js Outdated
@@ -6,6 +6,10 @@ import Footer from './footer/Footer';
import styles from './App.css';
import { default as buildPageRoutes } from './pages/buildRoutes';

Choose a reason for hiding this comment

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

import buildPageRoutes from './pages/buildRoutes';

Copy link
Contributor Author

Choose a reason for hiding this comment

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

😓

@satazor satazor force-pushed the v2 branch 2 times, most recently from a73f3af to b86ae05 Compare November 21, 2017 16:01
- Embrace env variables + dotenv
- Update to webpack 3 and react 16
- Use our babel preset-moxy
- Update all bin files and move them to scripts, to match the upcoming move of those files to react-with-moxy-scripts
- Update _reboot.css
- Add test script that uses Jest
- Add commitlint and standard-version: embrace conventional commits!
- Use webpack-isomorphic-compiler and webpack-isomorphic-dev-middleware
- Use the new uglify-es
- And a lot of minor improvements!

Closes #18, #15, #12, #11, #5, #4.
@satazor satazor merged commit e6e4513 into master Nov 21, 2017
@satazor satazor deleted the v2 branch November 21, 2017 16:37
satazor added a commit that referenced this pull request Nov 21, 2017
satazor added a commit that referenced this pull request Nov 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants