Skip to content

Commit 151d4aa

Browse files
authored
Keep style.css in ES module (#524)
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.
1 parent 0bbf70e commit 151d4aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
},
2323
"files": [
2424
"dist/**/*.js",
25-
"src/**/*.js"
25+
"src/**/*.js",
26+
"src/**/*.css"
2627
],
2728
"scripts": {
2829
"test": "mkdir -p test/output && mocha -r module-alias/register 'test/**/*-test.js' && mocha -r module-alias/register test/plot.js && eslint src test",

0 commit comments

Comments
 (0)