diff --git a/packages/common/package.json b/packages/common/package.json index ee37a034e2adab3a8d03ad3cfd375a95e5c22944..7c1031c7b11ed936240cbff86f617996217dc780 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -24,6 +24,7 @@ "test": "npm run build-test && karma start --singleRun" }, "dependencies": { - "i18next": "^17.0.9" + "i18next": "^17.0.9", + "lit-element": "^2.2.1" } } diff --git a/packages/common/rollup.config.js b/packages/common/rollup.config.js index 29dfd967dc4961cfd98bfc9a6f789678038f63a9..9024a8573fd76b0fd6aa5a0974c307d6578f03d1 100644 --- a/packages/common/rollup.config.js +++ b/packages/common/rollup.config.js @@ -1,3 +1,4 @@ +import path from 'path'; import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs'; import replace from "rollup-plugin-replace"; @@ -14,7 +15,12 @@ export default { }, plugins: [ multiEntry(), - resolve(), + resolve({ + customResolveOptions: { + // ignore node_modules from vendored packages + moduleDirectory: path.join(process.cwd(), 'node_modules') + } + }), commonjs({ include: 'node_modules/**' }),