From f142bee0e20136f2c07032746cfe5bb80a2e4d4f Mon Sep 17 00:00:00 2001 From: Mara Kim Date: Wed, 1 Jun 2016 11:34:37 -0500 Subject: [PATCH] Refer to Typescript example --- README.md | 2 ++ example/{example.tsx => echo.tsx} | 0 webpack.config.js | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) rename example/{example.tsx => echo.tsx} (100%) diff --git a/README.md b/README.md index 4f6b736..300203e 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ let EchoConsole = React.createClass({ Include `dist/react-console.js` and `dist/react-console.css` in your html. +See `example/echo.tsx` for an example using Typescript. + ## Props diff --git a/example/example.tsx b/example/echo.tsx similarity index 100% rename from example/example.tsx rename to example/echo.tsx diff --git a/webpack.config.js b/webpack.config.js index df7f17f..341f13c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -55,7 +55,7 @@ let production = Object.assign({},config, { }); let development = Object.assign({},config, { - entry: '../example/example.tsx', + entry: '../example/echo.tsx', output: { path: __dirname + '/example/dist', filename: 'react-console.js',