diff --git a/package.json b/package.json index 34da1e1d..39d9a684 100644 --- a/package.json +++ b/package.json @@ -11,9 +11,9 @@ "sideEffects": false, "files": [ "dist/", + "style/", "button.js", - "modal.js", - "style.js" + "modal.js" ], "source": "src/index.ts", "types": "dist/esm/index.d.ts", diff --git a/style/button.js b/style/button.js new file mode 100644 index 00000000..86e69d1f --- /dev/null +++ b/style/button.js @@ -0,0 +1 @@ +export * from '@docsearch/css/dist/button.css'; diff --git a/style.js b/style/index.js similarity index 100% rename from style.js rename to style/index.js diff --git a/style/modal.js b/style/modal.js new file mode 100644 index 00000000..fb35bb60 --- /dev/null +++ b/style/modal.js @@ -0,0 +1 @@ +export * from '@docsearch/css/dist/modal.css'; diff --git a/style/variables.js b/style/variables.js new file mode 100644 index 00000000..ecbb7b20 --- /dev/null +++ b/style/variables.js @@ -0,0 +1 @@ +export * from '@docsearch/css/dist/_variables.css';