Unverified Commit c97deca2 authored by Jonas Heinrich's avatar Jonas Heinrich Committed by GitHub
Browse files

eslint: avoid dev dependencies to reduce closure size (#392126)

parents 60b853d6 6ff9fa97
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -31,15 +31,11 @@ buildNpmPackage' rec {
  '';

  npmDepsHash = "sha256-F3EUANBvniczR7QxNfo1LlksYPxXt16uqJDFzN6u64Y=";
  npmInstallFlags = [ "--omit=dev" ];

  dontNpmBuild = true;
  dontNpmPrune = true;

  postFixup = ''
    # Remove broken symlink
    rm $out/lib/node_modules/eslint/node_modules/eslint-config-eslint
  '';

  meta = {
    description = "Find and fix problems in your JavaScript code";
    homepage = "https://eslint.org";