1
0
Fork 0

feat(website): lazy load DocSearch styles

This commit is contained in:
François Chalifour 2020-07-09 12:15:04 +02:00
parent 79a972b520
commit 9a2188548c
5 changed files with 5 additions and 2 deletions

View file

@ -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",

1
style/button.js Normal file
View file

@ -0,0 +1 @@
export * from '@docsearch/css/dist/button.css';

1
style/modal.js Normal file
View file

@ -0,0 +1 @@
export * from '@docsearch/css/dist/modal.css';

1
style/variables.js Normal file
View file

@ -0,0 +1 @@
export * from '@docsearch/css/dist/_variables.css';