Skip to content

Commit

Permalink
fix: Copy the whole utils folder
Browse files Browse the repository at this point in the history
This will copy the webpackHotDevClient.js so ejecting works
  • Loading branch information
drager committed Oct 12, 2017
1 parent 88bb41c commit 0337ec3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/eject.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,7 @@ function performEject(pkg) {
try {
fs.copySync(path.resolve(__dirname, 'build.js'), './scripts/build.js');
fs.copySync(path.resolve(__dirname, 'start.js'), './scripts/start.js');
fs.copySync(
path.resolve(__dirname, './utils/formatElmCompilerErrors.js'),
'./scripts/utils/formatElmCompilerErrors.js'
);
fs.copySync(path.resolve(__dirname, './utils'), './scripts/utils');
fs.copySync(path.resolve(__dirname, '../config'), './config');
} catch (err) {
console.log(chalk.red('Failed to copy scripts, the error is:\n'));
Expand Down

0 comments on commit 0337ec3

Please sign in to comment.