From 83e06c5e26d8ebf0d4c5d90670416dfb6252197f Mon Sep 17 00:00:00 2001 From: Daniel Ruf Date: Sun, 29 Jul 2018 01:16:29 +0200 Subject: [PATCH] fix: use correct webpack configuration filename --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 457dd04b..acc46ed6 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ You can edit some of the options or add more based on your own need. See more fu ### Set up build pipeline -To add TypeScript compilation as part of our build process, you need to modify the Webpack config file `webpack.configure.js`. This section is specific to Webpack. However, if you are using a different task runner (e.g. Gulp) for your React/Babel project, the idea is the same - replace the Babel build step with TypeScript, as TypeScript also offers transpiling to lower ECMAScript versions and JSX transpilation with a shorter build time in most cases. If you wish, you can also keep Babel by adding a TypeScript build step before Babel and feeding its output to Babel. +To add TypeScript compilation as part of our build process, you need to modify the Webpack config file `webpack.config.js`. This section is specific to Webpack. However, if you are using a different task runner (e.g. Gulp) for your React/Babel project, the idea is the same - replace the Babel build step with TypeScript, as TypeScript also offers transpiling to lower ECMAScript versions and JSX transpilation with a shorter build time in most cases. If you wish, you can also keep Babel by adding a TypeScript build step before Babel and feeding its output to Babel. Generally, we need to change `webpack.config.js` in a few ways, @@ -93,7 +93,7 @@ Generally, we need to change `webpack.config.js` in a few ways, 2. Replace `babel-loader` with `awesome-typescript-loader`. 3. Add source-map support. -Let's modify `webpack.configure.js` as below, +Let's modify `webpack.config.js` as below, ```js module.exports = {