##// END OF EJS Templates
core: change from homebrew plugin system into pyramid machinery....
core: change from homebrew plugin system into pyramid machinery. - it's faster to load - homebrew system was never used as intended - it's cleaner CE/EE code this way

File last commit:

r3180:a5902294 default
r3240:b74ad312 default
Show More
shared-styles.js
12 lines | 266 B | application/javascript | JavascriptLexer
js: support shared styles via webpack inline
r3179 const styleElement = document.createElement('dom-module');
js: move raw loader definition. Fixes odd bug in CE/EE injection.
r3180 // this will use raw-loader
import sharedCSS from './style-polymer.css';
js: support shared styles via webpack inline
r3179
styleElement.innerHTML =
`<template>
<style>
${sharedCSS}
</style>
</template>`;
styleElement.register('shared-styles');