Skip to content

Commit fe53f76

Browse files
committed
Merge pull request #1 from whatknight/master
Remove external window so consumers don't need to include it as well.
2 parents 281c111 + db2251f commit fe53f76

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

dist/switcheroo.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Switcher.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React, {Component} from 'react';
22
import {ensureTrailingSlash} from 'helpers';
3-
import window from 'window';
43

54
export default class Switcher extends Component {
65
static displayName = 'Switcher';

webpack.config.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ module.exports = {
2424
commonjs2: "react",
2525
commonjs: "react",
2626
amd: "react"
27-
},
28-
"window": "window"
27+
}
2928
}
3029
],
3130
plugins: [

0 commit comments

Comments
 (0)