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

Fix missing lit-element dependency

node-resolve wasn't limited to the local node_modules and picked up the
dependency from another package on my machine.
parent 966519b3
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
"test": "npm run build-test && karma start --singleRun" "test": "npm run build-test && karma start --singleRun"
}, },
"dependencies": { "dependencies": {
"i18next": "^17.0.9" "i18next": "^17.0.9",
"lit-element": "^2.2.1"
} }
} }
import path from 'path';
import resolve from 'rollup-plugin-node-resolve'; import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs'; import commonjs from 'rollup-plugin-commonjs';
import replace from "rollup-plugin-replace"; import replace from "rollup-plugin-replace";
...@@ -14,7 +15,12 @@ export default { ...@@ -14,7 +15,12 @@ export default {
}, },
plugins: [ plugins: [
multiEntry(), multiEntry(),
resolve(), resolve({
customResolveOptions: {
// ignore node_modules from vendored packages
moduleDirectory: path.join(process.cwd(), 'node_modules')
}
}),
commonjs({ commonjs({
include: 'node_modules/**' include: 'node_modules/**'
}), }),
......
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