1. 11 12月, 2018 3 次提交
  2. 10 12月, 2018 8 次提交
    • D
      Added a new example with relay modern and a graphql server with express. (#4670) · a996fba0
      Diogo Dutra 提交于
      * Added a new example with relay modern and a graphql server with express.
      
      * removed .graphqlconfig file from with-relay-modern-server-express example
      a996fba0
    • S
      Create with-firebase-hosting-and-docker example (#5373) · 2fdd43c3
      Saro Vindigni 提交于
      * ADD with-firebase-hosting-and-docker example
      
      * Improve doc
      2fdd43c3
    • L
      update styletron example (#5573) · 9ddc1d7b
      Leon 提交于
      9ddc1d7b
    • O
      Fix paths when built on windows (#5795) · 27c0b199
      Oscar Busk 提交于
      This PR Fixes #4920
      
      So the problem is that when a next.js application is built on windows, the `pages-manifest.json` file is created with backslashes. If this built application is deployed to a linux hosting enviroment, the server will fail when trying to load the modules.
      
      ```
      Error: Cannot find module '/user_code/next/server/bundles\pages\index.js
      ```
      
      My simple solution is to modify the `pages-manifest.json` to always use linux separator (`/`), then also
      modify `server/require.js` to, when requiring page, replace any separator (`\` or `/`) with current platform-specific file separator (`require('path').sep`).
      
      The fix in `server/require.js` would be sufficient, but my opinion is that having some cross-platform consistency is nice.
      
      This change was tested by bulding an application in windows and running it in linux and windows, aswell as building an application in linux and running it in linux and windows. The related tests was also run.
      # Conflicts:
      #	test/integration/production/test/index.test.js
      27c0b199
    • J
      Use more recent version of svg plugin (#5788) · 6a751182
      Justin Stahlman 提交于
      The demo did not work. Updating to babel-plugin-inline-react-svg v1.0.1 did work.
      6a751182
    • M
      Update for use with Firestore (#5793) · b0148cf4
      moflo 提交于
      Google seems to be deprecated the legacy realtime database and moving towards default use of Firestore, although it's still officially in beta. This PR migrates towards Firestore and the recommended loading methods for the Firebase 5.6.0 libraries. Note: the Firebase and Firebase-Admin dependencies should be updated to 5.6.0 and 6.3.0 respectively.
      b0148cf4
    • B
      improved ant-design with less (#5847) · 77d5f36e
      Bill Searle 提交于
      Hey @timneutkens I've updated this example a bit.
      
      - Fixed `/asserts` spelling to `/assets`.
      - Removed the `/assets/styles.less` as importing this caused the entire ant-design css sheet to be loaded, now only the React components imported will have their styles loaded via the babel plugin which was already configured. Resulted in dropping the CSS for this example from ~630kb to ~220kb.
      - Removed `index.js` as it's not needed.
      77d5f36e
    • T
      Convert next-server.js to typescript (#5844) · 8b617391
      Tim Neutkens 提交于
      8b617391
  3. 08 12月, 2018 1 次提交
  4. 07 12月, 2018 5 次提交
  5. 06 12月, 2018 7 次提交
  6. 05 12月, 2018 8 次提交
  7. 04 12月, 2018 8 次提交