Skip to content

update installation docs #60

@daniloab

Description

@daniloab

hi, thanks for the repository and docs. Also, I see some improvements to aggregate to the amazing job.

I guess I will have a free time into the next days and I can send a pull request doing these items below. Until there if someone can feel free to do it:

  • add the same topics from npm to yarn
  • upgrade webpack section to the actual one from example
    update from
module.exports = {
  webpack: (config, { isServer, webpack }) => {
    if (!isServer) {
      // Ensures no server modules are included on the client.
      config.plugins.push(new webpack.IgnorePlugin(/lib\/server/));
    }

    return config;
  },
};

to https://github.com/RevereCRE/relay-nextjs/blob/main/example/next.config.js

module.exports = {
  webpack: (config, { isServer, webpack }) => {
    if (!isServer) {
      // Ensures no server modules are included on the client.
      config.plugins.push(new webpack.IgnorePlugin(/lib\/server/));
    }

    return config;
  },
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions