feat(website): lazy load DocSearch styles
This commit is contained in:
parent
79a972b520
commit
9a2188548c
5 changed files with 5 additions and 2 deletions
|
|
@ -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
1
style/button.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from '@docsearch/css/dist/button.css';
|
||||
1
style/modal.js
Normal file
1
style/modal.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from '@docsearch/css/dist/modal.css';
|
||||
1
style/variables.js
Normal file
1
style/variables.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from '@docsearch/css/dist/_variables.css';
|
||||
Loading…
Reference in a new issue