Hongbin's Blog

vuePress-theme-reco Hongbin's Blog    2021
Hongbin's Blog Hongbin's Blog

Choose mode

  • dark
  • auto
  • light
GitHub
Category
  • article
  • note
  • tip
  • draft
  • log
  • recette
Tag
Home
TimeLine

Hongbin's Blog

13

Article

13

Tag

GitHub
Category
  • article
  • note
  • tip
  • draft
  • log
  • recette
Tag
Home
TimeLine
  • Source Reading - Vue - init

    • Config/Environment
      • Npm
      • Webpack
      • Babel
    • Test1

    Source Reading - Vue - init

    vuePress-theme-reco Hongbin's Blog    2021

    Source Reading - Vue - init


    Hongbin 2020-09-29 vueSourceReading

    # Summary

    Under going...
    	
    List of `what is that`?
    1. npm-debug
    
    1
    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

    # 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?

    # Test1