Skip to content

Commit

Permalink
adjust to esm from mster after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
cylon3035 committed Jan 17, 2025
1 parent 9080c60 commit 1d48909
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pretest": "npm run lint && npm run build",
"test": "npm run test:browser && npm run test:node",
"test:browser": "mocha-web \"packages/*/dist/test/**/*.spec.js\"",
"test:node": "mocha \"packages/*/dist/test/**/*.unit.js\" --detect-open-handles",
"test:node": "mocha \"packages/*/dist/test/**/*.unit.js\"",
"prettify": "prettier . --write"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,4 @@ import coduxPlugin from '@wixc3/vite-plugin-react-board';
// https://vite.dev/config/
export default defineConfig({
plugins: [coduxPlugin(), react()],
optimizeDeps: {
// because test project does not have own node modules there is a problem with optimizing this dependency
// and it need to be manually added. This happens only in test project without node modules.
// in real project with node_modules optimization works out of the box
include: ['@wixc3/react-board'],
},
});

0 comments on commit 1d48909

Please sign in to comment.