Skip to content

Commit

Permalink
fix(webpack): Add replace param to webpack file
Browse files Browse the repository at this point in the history
  • Loading branch information
nogsantos committed Feb 2, 2018
1 parent f8a09c6 commit 3e73b73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 deletions.
3 changes: 2 additions & 1 deletion src/resources/skeleton.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class Skeleton {
];

const packagejson = `${this.package_name}/package.json`;
const webpack = `${this.package_name}/webpack.config.babel.js`;
const readme = `${this.package_name}/README.md`;

exec(commands, null, err => {
Expand All @@ -43,7 +44,7 @@ class Skeleton {
replace({
regex: '--pkg-name',
replacement: this.package_name,
paths: [packagejson, readme],
paths: [packagejson, readme, webpack],
recursive: true,
silent: true,
});
Expand Down
29 changes: 0 additions & 29 deletions webpack.config.babel.js

This file was deleted.

0 comments on commit 3e73b73

Please sign in to comment.