Skip to content

Commit 54d6d97

Browse files
committed
rebuild
1 parent 039d537 commit 54d6d97

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### 4.0.2
2+
3+
- update index file to reflect build changes done in 4.0.0
4+
15
### 4.0.1
26

37
- typescript: Use updated ts export default from i18next [194](https://github.com/i18next/i18next-browser-languageDetector/pull/194)

i18nextBrowserLanguageDetector.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
33
typeof define === 'function' && define.amd ? define(factory) :
44
(global = global || self, global.i18nextBrowserLanguageDetector = factory());
5-
}(this, function () { 'use strict';
5+
}(this, (function () { 'use strict';
66

77
function _classCallCheck(instance, Constructor) {
88
if (!(instance instanceof Constructor)) {
@@ -344,4 +344,4 @@
344344

345345
return Browser;
346346

347-
}));
347+
})));

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint no-var: 0 */
2-
var main = require('./dist/commonjs/index.js').default;
2+
var main = require('./dist/cjs/i18nextBrowserLanguageDetector.js');
33

44
module.exports = main;
5-
module.exports.default = main;
5+
module.exports.default = main;

0 commit comments

Comments
 (0)