Skip to content
Snippets Groups Projects
Commit ba4cb4be authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

language-select: integrate into lerna

parent 58ec3384
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
"rollup-plugin-terser": "^6.1.0",
"rollup-plugin-delete": "^2.0.0",
"i18next-scanner": "^2.10.2",
"vpu-common": "file:./vendor/common"
"vpu-common": "^1.0.0"
},
"dependencies": {
"@open-wc/scoped-elements": "^1.0.8",
......
import glob from 'glob';
import path from 'path';
import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import copy from 'rollup-plugin-copy';
......@@ -28,15 +27,8 @@ export default {
consts({
environment: build,
}),
resolve({
customResolveOptions: {
// ignore node_modules from vendored packages
moduleDirectory: path.join(process.cwd(), 'node_modules')
}
}),
commonjs({
include: 'node_modules/**'
}),
resolve(),
commonjs(),
json(),
(build !== 'local' && build !== 'test') ? terser() : false,
copy({
......
......@@ -81,9 +81,8 @@ export class LanguageSelect extends LitElement {
static get styles() {
// language=css
return css`
${commonStyles.getThemeCSS()}
return [commonStyles.getThemeCSS(),
css`
:host {
display: inline-block;
}
......@@ -102,7 +101,8 @@ export class LanguageSelect extends LitElement {
color: var(--vpu-dark);
border-radius: var(--vpu-border-radius);
}
`;
`
];
}
onExternalChange(e) {
......
common @ 63b49c3a
Subproject commit 63b49c3a2eeae312b4a2aeec4cc2f7f0ee12b749
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment