Skip to content

Commit 937f95c

Browse files
author
Bernie Zang
committed
fix: Cleanup extraneous files and missing gitignores
1 parent 0426d8e commit 937f95c

File tree

12 files changed

+4
-145
lines changed

12 files changed

+4
-145
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.DS_Store
22
*.log
33
/node_modules
4+
dist/*

packages/node_modules/@ciscospark/react-component-button/dist/bundle.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/node_modules/@ciscospark/react-component-button/dist/bundle.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/node_modules/@ciscospark/react-component-icon/dist/bundle.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/node_modules/@ciscospark/react-component-icon/dist/bundle.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

scripts/build-package.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,8 @@ export default function build(pkgName) {
1616
return exec(`rimraf ${path.resolve(pkgPath, `dist`)}`)
1717
.then(() => Promise.all([
1818
exec(`cd ${pkgPath} && webpack --config ${webpackConfigPath}`)
19-
]))
20-
.then((a1, a2) => {
21-
console.log(a1);
22-
console.log(a2);
23-
},(a1, a2) => {
24-
console.log(a1);
25-
console.log(a2);
19+
])).catch((reason) => {
20+
console.error(reason);
2621
});
2722
}
2823

scripts/dist/bundle.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

scripts/dist/bundle.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

scripts/dist/index.html

Lines changed: 0 additions & 97 deletions
This file was deleted.

scripts/webpack/webpack.dev.babel.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
import HtmlWebpackPlugin from 'html-webpack-plugin';
21
import webpackConfigBase from './webpack.base.babel';
32

43
const plugins = [
5-
// new HtmlWebpackPlugin({
6-
// template: `index.html`
7-
// })
84
];
95

106
export default (options) => webpackConfigBase(Object.assign({

0 commit comments

Comments
 (0)