Skip to content

Commit e2cc1fa

Browse files
committed
add build with section
1 parent c9d2a3f commit e2cc1fa

File tree

5 files changed

+31
-29
lines changed

5 files changed

+31
-29
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ ReactDOM.render(
4242
);
4343
```
4444

45+
## Build with `react-simple-chatbot`
46+
47+
1. [Seth Loh Website](https://github.com/lackdaz/lackdaz.github.io) - Personal website of Seth Loh ([demo](https://www.sethloh.com))
48+
4549
## How to Contribute
4650

4751
Please check the [contributing guide](https://github.com/LucasBassetti/react-simple-chatbot/blob/master/contributing.md)

dist/react-simple-chatbot.js

Lines changed: 1 addition & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 21 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
"nyc": "^11.0.2",
7070
"react-addons-test-utils": "^15.5.0",
7171
"sinon": "^2.3.5",
72+
"uglifyjs-webpack-plugin": "^0.4.6",
7273
"webpack": "^2.6.1",
7374
"webpack-dev-server": "^2.5.0"
7475
},

webpack.config.prod.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const path = require('path');
22
const CleanWebpackPlugin = require('clean-webpack-plugin');
3+
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
34

45
module.exports = {
56
entry: path.resolve(__dirname, 'lib/index'),
@@ -15,6 +16,9 @@ module.exports = {
1516
},
1617
plugins: [
1718
new CleanWebpackPlugin(['dist']),
19+
new UglifyJsPlugin({
20+
comments: false,
21+
}),
1822
],
1923
module: {
2024
rules: [

0 commit comments

Comments
 (0)