Skip to content

Commit

Permalink
fix: pdfjs version and bundle reduce (#319)
Browse files Browse the repository at this point in the history
* fix: pdfjs version and bundle reduce

* Update docs

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
daron1337 and github-actions[bot] authored Mar 6, 2024
1 parent 2fa888c commit 43c55d9
Show file tree
Hide file tree
Showing 10 changed files with 3,281 additions and 338,747 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

## Dicom Image Toolkit for CornerstoneJS

### Current version: 2.4.4
### Current version: 2.4.5

### Latest Published Release: 2.4.4
### Latest Published Release: 2.4.5

This library provides common DICOM functionalities to be used in web-applications: it's wrapper that simplifies the use of cornerstone-js environment.

Expand Down
5 changes: 3 additions & 2 deletions bundler/webpack.prod.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const path = require("path");
const { merge } = require("webpack-merge");
const commonConfiguration = require("./webpack.common.js");
const LodashModuleReplacementPlugin = require("lodash-webpack-plugin");
const { CleanWebpackPlugin } = require("clean-webpack-plugin");

module.exports = merge(commonConfiguration, {
Expand All @@ -12,8 +13,8 @@ module.exports = merge(commonConfiguration, {
libraryTarget: "umd"
},
mode: "production",
plugins: [new CleanWebpackPlugin()],
plugins: [new CleanWebpackPlugin(), new LodashModuleReplacementPlugin()],
optimization: {
minimize: false
minimize: true
}
});
2 changes: 1 addition & 1 deletion dist/imaging/tools/segmentation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export declare function clearSegmentationState(): void;
* Anyway, the activated tool name is returned
* @param {Object} options - An object containing configuration values (eg radius, thresholds, etc...)
*/
export declare function enableBrushTool(viewports: string[], options: BrushProperties): "Brush" | "ThresholdsBrush";
export declare function enableBrushTool(viewports: string[], options: BrushProperties): "ThresholdsBrush" | "Brush";
/**
* Disable brushing
* This function disables both brush tools, if found active on `viewports`
Expand Down
Loading

0 comments on commit 43c55d9

Please sign in to comment.