Skip to content

Commit

Permalink
feat: change the entry file to es module
Browse files Browse the repository at this point in the history
  • Loading branch information
VicSolWang committed Nov 14, 2023
1 parent f5bf1aa commit 3316666
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* Created by VICSOLWANG.
* Date: 2020/06/12 9:57
* Date: 2020/6/12 9:57
* Email: vic.sol.wang@gmail.com
*/

const config = require('./src/config');
import config from './src/config.js';

module.exports = config;
export default config;

0 comments on commit 3316666

Please sign in to comment.