Skip to content

Commit 0337ec3

Browse files
committed
fix: Copy the whole utils folder
This will copy the webpackHotDevClient.js so ejecting works
1 parent 88bb41c commit 0337ec3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/eject.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,7 @@ function performEject(pkg) {
7171
try {
7272
fs.copySync(path.resolve(__dirname, 'build.js'), './scripts/build.js');
7373
fs.copySync(path.resolve(__dirname, 'start.js'), './scripts/start.js');
74-
fs.copySync(
75-
path.resolve(__dirname, './utils/formatElmCompilerErrors.js'),
76-
'./scripts/utils/formatElmCompilerErrors.js'
77-
);
74+
fs.copySync(path.resolve(__dirname, './utils'), './scripts/utils');
7875
fs.copySync(path.resolve(__dirname, '../config'), './config');
7976
} catch (err) {
8077
console.log(chalk.red('Failed to copy scripts, the error is:\n'));

0 commit comments

Comments
 (0)