Source Reading - Vue - init
Hongbin 2020-09-29 vueSourceReading
# Summary
Under going...
List of `what is that`?
1. npm-debug
1
2
3
4
2
3
4
# Notes
DevBrach: link Commit: a879ec06ef9504db8df2a19aac0d07609fe36131
It was the start of Vue.
The changed file can be categories into different types. So start from the first one I notice then in the end summarize all of them.
# Config/Environment
I think I should take care of the dependency configs first:
a. `.babelrc`
b. `webpack.config.js`
c. `package.json`
# Npm
In package.json
, npm-debug was created so that means npm-debug is used (what is that?). And scripts, "dev": "webpack --watch",
"test": "mocha"`.
devDependencies:
Those for babel compiler: core, loader, etc...
rollup (what is that?)
webpack
1
2
3
2
3
# Webpack
(not sure)Pipe1: all JS file → Babel Loader → $PWD/dist (what that was used for)src/index.umd.js
# Babel
It took es2015 as the compiler for development and es2015-rollup for production. What's the difference between these two libraries?