Skip to content

Commit 82c9ec4

Browse files
committed
bundle.js -> app.js
1 parent 0559111 commit 82c9ec4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
],
1818
output: {
1919
path: path.join(__dirname, 'build'),
20-
filename: 'bundle.js',
20+
filename: 'app.js',
2121
publicPath: '/'
2222
},
2323
resolve: {

webpack.config.production.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ module.exports = {
1313
],
1414
output: {
1515
path: path.join(__dirname, 'build'),
16-
filename: 'bundle.js',
17-
publicPath: '/public/'
16+
filename: 'app.js',
17+
publicPath: '/'
1818
},
1919
resolve: {
2020
extensions: ['', '.jsx', '.scss', '.js', '.json'],

www/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<body>
2222
<div id="app"></div>
23-
<script src="bundle.js"></script>
23+
<script src="app.js"></script>
2424
</body>
2525
</html>
2626

0 commit comments

Comments
 (0)