diff --git a/README.md b/README.md index 2a19881..6c4630b 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,2 @@ -### webpack -this's a cute&awesome webpack template. -### TODO -- [ ] add `React 16.x` + `Redux` + `React-Router4.x` -- [ ] add `React Server Rendering` -### plugins -- [webpack](https://github.com/webpack/webpack) -- [webpack-merge](https://github.com/survivejs/webpack-merge) -- [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) -- [clean-webpack-plugin](https://github.com/johnagan/clean-webpack-plugin) -- [extract-text-webpack-plugin](https://github.com/webpack-contrib/extract-text-webpack-plugin) -## production or development -### default config - -### when i add `process.env.production` - -``` -plugins: [ - new webpack.DefinePlugin({ - 'process.env': { - NODE_ENV: '"production"' - } - }) -] -``` \ No newline at end of file +### webpack-jsx-react +this's a webpack-jsx-react template. \ No newline at end of file diff --git a/src/index.js b/src/index.js index d569093..94b0a32 100644 --- a/src/index.js +++ b/src/index.js @@ -2,7 +2,7 @@ console.log(2); document.write('