Skip to content

General refactoring

Compare
Choose a tag to compare
@adriantoine adriantoine released this 06 Oct 09:19
· 37 commits to master since this release
  • Fixed build process to use webpack

  • Fixed many issues with dependencies and multiple copies of React

  • Doesn't bundle react and react-relay packages to make files minimal and avoid build issues, they are now peer dependencies

  • Changed folder structure and way to get files:

    • On the server side:
    import bloql from 'bloql/server/middleware/express';
    
    // become =>
    
    import bloql from 'bloql/middleware/express';
    • On the client side:
    import { createPost } from 'bloql/client';
    import { createPostList } from 'bloql/client';
    
    // become =>
    
    import createPost from 'bloql/Post';
    import createPostList from 'bloql/PostList';
  • Created examples and updated README.md