Git Product home page Git Product logo

blog's Introduction

项目目录结构

.
+--public/ : 公共资源文件目录,如图片,项目根 index.html 模板文件等 不需要被 webpack 编译的目录
|
|
+--build/ : 项目编译输出文件
|
|
+--src/ : 项目源文件
|
|
+--test/ : 项目测试文件目录
|
|
+--package.json : 项目配置文件,由 npm init 命令生成,包含项目的基本信息、依赖、仓库地址等信息
|
|
+--package-lock.json : 项目详细依赖信息,由 npm install 命令执行时自动生成,记录了项目的详细依赖信息,如库版本号,库的依赖等,package.json 只记录了依赖的基础信息
|
|
+--webpack.config.js : webpack 打包工具的配置文件,用于指定项目的入口,输入目录,开发工具、插件、排除目录等信息。
|
|
+--.babelrc : babel 转码器配置文件,内容也可以编写在 webpack.config.js 文件的 module->rules->options 字段内,为了使结构更加清晰抽离出来,指定转码的内容和规则等信息
|
|
+--.gitignore : git 忽略文件

blog's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.