/react-webpack-demo

react以及webpack学习的项目,以及记录技术文章

Primary LanguageJavaScript

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn build

  • 控制台会根据插件speed-measure-webpack-plugin分析打包速度
  • 自动打开分析体积页面:http://127.0.0.1:8800/
  • 使用插件uglifyjs-webpack-plugin,打包之后js的文件会变小

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

npm test

npm run build

文件目录

  • eslint的配置项.eslintrc
  • eslint忽略的配置项.eslintignore