mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
eslint: avoid dev dependencies to reduce closure size (#392126)
This commit is contained in:
commit
c97deca26f
1 changed files with 1 additions and 5 deletions
|
@ -31,15 +31,11 @@ buildNpmPackage' rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
npmDepsHash = "sha256-F3EUANBvniczR7QxNfo1LlksYPxXt16uqJDFzN6u64Y=";
|
npmDepsHash = "sha256-F3EUANBvniczR7QxNfo1LlksYPxXt16uqJDFzN6u64Y=";
|
||||||
|
npmInstallFlags = [ "--omit=dev" ];
|
||||||
|
|
||||||
dontNpmBuild = true;
|
dontNpmBuild = true;
|
||||||
dontNpmPrune = true;
|
dontNpmPrune = true;
|
||||||
|
|
||||||
postFixup = ''
|
|
||||||
# Remove broken symlink
|
|
||||||
rm $out/lib/node_modules/eslint/node_modules/eslint-config-eslint
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Find and fix problems in your JavaScript code";
|
description = "Find and fix problems in your JavaScript code";
|
||||||
homepage = "https://eslint.org";
|
homepage = "https://eslint.org";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue