-
Notifications
You must be signed in to change notification settings - Fork 10
Major overhaul! #30
Major overhaul! #30
Conversation
e158126
to
73ee47f
Compare
// 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) => { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep it is. removed!
scripts/start-dev
Outdated
memoryFs, | ||
watchDelay: 50, | ||
watchOptions: { poll }, | ||
notify: { icon: `${publicDir}/favicon.ico` }, // OS notitifications! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
notitifications
-> notifications
There was a problem hiding this comment.
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'; |
There was a problem hiding this comment.
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';
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😓
a73f3af
to
b86ae05
Compare
- 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.
Here's a quick summary:
Closes #18, #15, #12, #11, #5, #4.
Here's the bundle size improvements:
before:
after:
What's next: