Skip to content

Commit

Permalink
fix: rsd config template mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
avennn committed May 30, 2023
1 parent 3ac22bd commit ce1680b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-source-debugger",
"version": "1.1.2",
"version": "1.1.3",
"description": "A tool for quickly setting up the environment of debugging React source code.",
"main": "src/index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function create(projectName) {
throw new Error(`Already has a directory or file named ${projectName}`);
}
shell.mkdir('-p', projectName);
shell.cp(path.join(projectRoot, './templates/rsd.config.js'), dir);
shell.cp(path.join(projectRoot, './templates/rsd.config.mjs'), dir);
} catch (e) {
hint.error(e);
process.exit(1);
Expand Down
File renamed without changes.

0 comments on commit ce1680b

Please sign in to comment.