From 1624ebc8d835f2e77089a7212dc805b24aa43af7 Mon Sep 17 00:00:00 2001 From: Alexey Date: Fri, 18 Aug 2023 14:27:10 +0300 Subject: [PATCH] feat: add `sideEffects` (#227) * feat: add `sideEffects` * feat: exclude test and stories from package --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fd02d6f6..804dd774 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,14 @@ "main": "build/index.js", "typings": "build/index.d.ts", "files": [ - "build" + "build", + "!**/__tests__/**", + "!**/__stories__/**" ], "publishConfig": { "access": "public" }, + "sideEffects": ["*.css"], "dependencies": { "@gravity-ui/date-utils": "^1.4.1", "@gravity-ui/yagr": "^3.7.8",