added editor config
This commit is contained in:
@@ -0,0 +1 @@
|
||||
|
||||
+3
-4
@@ -2320,12 +2320,11 @@ let BoilerplateCard = class BoilerplateCard extends LitElement {
|
||||
return html `
|
||||
<ha-card>
|
||||
<div class="warning">Show Warning</div>
|
||||
</ha-card>`;
|
||||
</ha-card>
|
||||
`;
|
||||
}
|
||||
return html `
|
||||
<ha-card
|
||||
.header=${this._config.name ? this._config.name : 'Boilerplate'}
|
||||
></ha-card>
|
||||
<ha-card .header=${this._config.name ? this._config.name : 'Boilerplate'}></ha-card>
|
||||
`;
|
||||
}
|
||||
static get styles() {
|
||||
|
||||
+19
-6
@@ -1,14 +1,27 @@
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import typescript from 'rollup-plugin-typescript2';
|
||||
|
||||
export default {
|
||||
|
||||
const commonPlugins = [
|
||||
resolve(),
|
||||
typescript()
|
||||
];
|
||||
|
||||
export default [
|
||||
{
|
||||
input: 'src/index.ts',
|
||||
output: {
|
||||
file: 'boilerplate-card.js',
|
||||
format: 'es'
|
||||
},
|
||||
plugins: [
|
||||
resolve(),
|
||||
typescript ()
|
||||
]
|
||||
};
|
||||
plugins: [...commonPlugins]
|
||||
},
|
||||
{
|
||||
input: 'src/editor.ts',
|
||||
output: {
|
||||
file: 'boilerplate-card-editor.js',
|
||||
format: 'es'
|
||||
},
|
||||
plugins: [...commonPlugins]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user