Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 92a87bd

Browse files
galelisswederik
authored andcommitted
fix(issue#85): Window undefined on webpack output file (cornerstonejs#87)
1 parent 2f6a704 commit 92a87bd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

changelog.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [unreleased]
8+
### Fix
9+
- (Webpack) Issue #85: Output global object must be 'this'
10+
711
## [1.8.0] - 2018-04-12
812
### Changed
913
- Updated Webpack to version 4
1014
- DIST folder is now removed from the repository
1115

12-
1316
# [1.7.6] - 2017-11-04
1417

1518
- Add an example of DICOM PDF parsing and display (https://rawgit.com/cornerstonejs/dicomParser/master/examples/encapsulatedPDF/index.html) (thanks @andrebot)

config/webpack/webpack-base.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module.exports = {
1919
root: 'dicomParser'
2020
},
2121
libraryTarget: 'umd',
22+
globalObject: 'this',
2223
path: outputPath,
2324
umdNamedDefine: true
2425
},

0 commit comments

Comments
 (0)