Преглед на файлове

rename entry.js to index.js

this is a remnant from the webpack tutorial. i think index.js sounds
nicer, even though it should get split up into multiple files and be
just setup at some point.
Lucas Stadler преди 11 години
родител
ревизия
60f23fa643
променени са 3 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      js/react/README.md
  2. 0 0
      js/react/index.js
  3. 1 1
      js/react/webpack.config.js

+ 1 - 1
js/react/README.md

@ -26,7 +26,7 @@ $ webpack --watch
26 26
27 27
# visit index.html in your browser
28 28
29
$ vi entry.js      # change something!
29
$ vi index.js      # change something!
30 30
```
31 31
32 32
## Ideas

js/react/entry.js → js/react/index.js


+ 1 - 1
js/react/webpack.config.js

@ -1,5 +1,5 @@
1 1
module.exports = {
2
	entry: "./entry.js",
2
	entry: "./index.js",
3 3
	output: {
4 4
		path: __dirname,
5 5
		filename: "bundle.js"