simplify implementation

pull/1557/head
Burton Smith 2023-09-07 23:04:31 -04:00
rodzic 8d86f374f9
commit 7d6f770cd9
3 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -203,6 +203,7 @@ export default {
] ]
}), }),
customElementJetBrainsPlugin({ customElementJetBrainsPlugin({
outdir: './dist',
excludeCss: true, excludeCss: true,
referencesTemplate: (_, tag) => { referencesTemplate: (_, tag) => {
return { return {

Wyświetl plik

@ -214,7 +214,7 @@ If `settings.json` already exists, simply add the above line to the root of the
If you are using a [JetBrains IDE](https://www.jetbrains.com/) and you are installing Shoelace from NPM, the editor will automatically detect the `web-types.json` file from the package and you should immediately see component information in your editor. If you are using a [JetBrains IDE](https://www.jetbrains.com/) and you are installing Shoelace from NPM, the editor will automatically detect the `web-types.json` file from the package and you should immediately see component information in your editor.
If you are installing from the CDN, you can [download a local copy](https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace/cdn/web-types.json) and add it to the root of your project. If you are installing from the CDN, you can [download a local copy](https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace/dist/web-types.json) and add it to the root of your project.
### Other Editors ### Other Editors

Wyświetl plik

@ -6,7 +6,7 @@
"author": "Cory LaViska", "author": "Cory LaViska",
"license": "MIT", "license": "MIT",
"customElements": "dist/custom-elements.json", "customElements": "dist/custom-elements.json",
"web-types": "./web-types.json", "web-types": "./dist/web-types.json",
"type": "module", "type": "module",
"types": "dist/shoelace.d.ts", "types": "dist/shoelace.d.ts",
"jsdelivr": "./cdn/shoelace-autoloader.js", "jsdelivr": "./cdn/shoelace-autoloader.js",
@ -25,7 +25,7 @@
"./dist/react/*": "./dist/react/*", "./dist/react/*": "./dist/react/*",
"./dist/translations/*": "./dist/translations/*" "./dist/translations/*": "./dist/translations/*"
}, },
"files": ["dist", "cdn", "web-types.json"], "files": ["dist", "cdn"],
"keywords": ["web components", "custom elements", "components"], "keywords": ["web components", "custom elements", "components"],
"repository": { "repository": {
"type": "git", "type": "git",