Commit b6f1275923751b58cbb800d742d55e4139e390b9
1 parent
e01b0ac1
调整index.js以支持依赖
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/index.js
@@ -205,4 +205,4 @@ API.lang = (code) => { | @@ -205,4 +205,4 @@ API.lang = (code) => { | ||
205 | else console.log(`The ${code} language pack is not loaded.`); // eslint-disable-line no-console | 205 | else console.log(`The ${code} language pack is not loaded.`); // eslint-disable-line no-console |
206 | }; | 206 | }; |
207 | 207 | ||
208 | -module.exports.default = module.exports = API; // eslint-disable-line no-undef | 208 | +export default API; // eslint-disable-line no-undef |