##// END OF EJS Templates
middleware: use explicit call to .includeme while importing apps and modules. This is a bit faster for code discovery and app startup
middleware: use explicit call to .includeme while importing apps and modules. This is a bit faster for code discovery and app startup

File last commit:

r3180:a5902294 default
r5024:cc92b68c default
Show More
shared-styles.js
12 lines | 266 B | application/javascript | JavascriptLexer
const styleElement = document.createElement('dom-module');
// this will use raw-loader
import sharedCSS from './style-polymer.css';
styleElement.innerHTML =
`<template>
<style>
${sharedCSS}
</style>
</template>`;
styleElement.register('shared-styles');