From d32d505d15c95a44e2821790b3c5d7258b8a8a44 Mon Sep 17 00:00:00 2001 From: Remus Mate Date: Tue, 20 Feb 2024 16:03:23 +1100 Subject: [PATCH] add changeset --- .changeset/strong-suits-end.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .changeset/strong-suits-end.md diff --git a/.changeset/strong-suits-end.md b/.changeset/strong-suits-end.md new file mode 100644 index 00000000..12dbf977 --- /dev/null +++ b/.changeset/strong-suits-end.md @@ -0,0 +1,12 @@ +--- +'playroom': minor +--- + +Add custom entry file support + +You can provide a custom entry file via the `entry` option, which is a path to a file that runs some code before everything else. For example, if you wanted to apply a CSS reset or other global styles, polyfills etc.: + +```js +import '../path/to/your/theming-system/reset'; +import '../path/to/your/theming-system/global-styles.css'; +```