Skip to content

Commit

Permalink
Merge pull request #641 from webitel/fix/clean-up-vite
Browse files Browse the repository at this point in the history
Fix/clean up vite
  • Loading branch information
dlohvinov authored Mar 25, 2024
2 parents 08b55dc + a124a3b commit 8ceb74a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ module.exports = {
'**/__tests__/*.{j,t}s?(x)',
'**/tests/unit/**/*.spec.{j,t}s?(x)',
],
env: {
jest: true,
},
},
],
};
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export default {
async initDiagram() {
const flowDiagramUrl = import.meta.env.VITE_FLOW_DIAGRAM_URL;
const script = document.createElement('script');
script.type = 'module';
script.src = `${flowDiagramUrl}/WtFlowDiagram.js`;
// script.type = 'module';
script.src = `${flowDiagramUrl}/WtFlowDiagram.umd.cjs`;
script.onload = () => {
const params = {
Expand Down

0 comments on commit 8ceb74a

Please sign in to comment.