From f1fb57f8378eca3bed56dada8cb98b1a22af6b6e Mon Sep 17 00:00:00 2001 From: Julien Barnier Date: Mon, 30 Aug 2021 10:52:26 +0200 Subject: [PATCH] Keep style.css in ES module The `src/style.css` file is not kept in the distributed ES module. Keeping it would allow to import it directly and keep it up to date when using Plot from a package manager. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b70b4f0c3e..7701c8a423 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ }, "files": [ "dist/**/*.js", - "src/**/*.js" + "src/**/*.js", + "src/**/*.css" ], "scripts": { "test": "mkdir -p test/output && mocha -r module-alias/register 'test/**/*-test.js' && mocha -r module-alias/register test/plot.js && eslint src test",