Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"exports": {
".": "./es/index.js",
"./style/style.css": "./style/style.css"
Copy link
Contributor

@toloudis toloudis Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is odd to me because of the "files" section above, that has both "es" and "style" in it.. it looks like this is pushing es/ up one level relative to style/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh you're right, so this branch is currently putting it at the top level and in /es. The /es one has always been there but webpack wasn't using it. It works...

But I found another way to fix it which is to just import import "./style/style.css"; in src/index.ts...

Feels too simple, so I'm going to keep rebuilding and repacking and re installing until I'm sure but it seems like the better way to do this.

},
"repository": {
"type": "git",
"url": "https://github.com/simularium/simularium-viewer.git"
Expand Down
Loading