Skip to content

Commit

Permalink
Try to externalize lxljs
Browse files Browse the repository at this point in the history
  • Loading branch information
lrosenstrom committed Feb 12, 2024
1 parent 212892b commit 5a7e17e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
14 changes: 3 additions & 11 deletions lxl-web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions lxl-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
],
"*.{js,ts,svelte}": "eslint"
},
"peerDependencies": {
"lodash-es": "4.x"
"dependencies": {
"lxljs": "file:../lxljs"
},
"devDependencies": {
"@playwright/test": "^1.28.1",
Expand All @@ -40,7 +40,6 @@
"eslint-plugin-svelte": "^2.30.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"lxljs": "file:../lxljs",
"postcss": "^8.4.32",
"postcss-import": "^16.0.0",
"prettier": "^3.0.0",
Expand Down
5 changes: 5 additions & 0 deletions lxl-web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@ export default defineConfig({
plugins: [sveltekit()],
test: {
include: ['src/**/*.{test,spec}.{js,ts}']
},
build: {
rollupOptions: {
external: ['lodash-es']
}
}
});

0 comments on commit 5a7e17e

Please sign in to comment.