Skip to content

Commit

Permalink
feat(website): lazy load DocSearch styles
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Jul 9, 2020
1 parent 79a972b commit 9a21885
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions style/button.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@docsearch/css/dist/button.css';
File renamed without changes.
1 change: 1 addition & 0 deletions style/modal.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@docsearch/css/dist/modal.css';
1 change: 1 addition & 0 deletions style/variables.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@docsearch/css/dist/_variables.css';

0 comments on commit 9a21885

Please sign in to comment.