Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
golsch committed Jan 13, 2025
1 parent c005691 commit a887b9c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions mir-module/src/main/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"description": "",
"dependencies": {
"@golsch/test": "npm:@jsr/golsch__test",
"@types/bootstrap": "4.3.1",
"vite": "^6.0.3"
},
"devDependencies": {
"@types/jquery": "^3.5.32",
"@types/node": "^22.10.2",
"typescript": "^5.7.2"
"typescript": "^5.7.2",
"@types/bootstrap": "4.3.1",
"@types/jquery": "^3.5.32"
}
}
3 changes: 0 additions & 3 deletions mir-module/src/main/js/src/common/modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
* along with MyCoRe. If not, see <http://www.gnu.org/licenses/>.
*/

// import $ from 'jquery';
// import 'bootstrap';

export abstract class MIRModalHandler {
private _isBusy = false;
private _modalDiv: HTMLDivElement;
Expand Down
2 changes: 1 addition & 1 deletion mir-module/src/main/js/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"outDir": "../dist",
"types": ["jquery"]
"types": ["jquery", "bootstrap"]
},
"include": ["src/**/*.ts", "src/**/*.d.ts"]
}
1 change: 0 additions & 1 deletion mir-module/src/main/js/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export default defineConfig({
assetFileNames: '[name].[ext]', // Assets wie CSS, Bilder etc. bekommen ihren ursprünglichen Namen
dir: 'dist', // Alle Bundles werden im Verzeichnis 'dist' abgelegt
},
external: ['jquery', 'bootstrap'],
},
},
});

0 comments on commit a887b9c

Please sign in to comment.