Ver código fonte

Use ES5 exports for non-classes. Fixes bundle examples

Kevin van Zonneveld 9 anos atrás
pai
commit
b4350c127d
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      src/locales/index.js
  2. 1 1
      src/plugins/index.js

+ 1 - 1
src/locales/index.js

@@ -2,7 +2,7 @@
 import en_US from './en_US'
 import ru_RU from './ru_RU'
 
-export {
+module.exports = {
   en_US,
   ru_RU
 }

+ 1 - 1
src/plugins/index.js

@@ -25,7 +25,7 @@ import Present from './Present'
 // Presetters
 import TransloaditBasic from './TransloaditBasic'
 
-export {
+module.exports = {
   Plugin,
   Dummy,
   ProgressBar,