From 7a3df06eb573d36142bd1a8e03c5ce8752d300b3 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 24 May 2017 15:10:37 +0200 Subject: fix build issues and add typedoc --- .../examples/react-cdn-simple/webpack.config.js | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 node_modules/ts-loader/examples/react-cdn-simple/webpack.config.js (limited to 'node_modules/ts-loader/examples/react-cdn-simple/webpack.config.js') diff --git a/node_modules/ts-loader/examples/react-cdn-simple/webpack.config.js b/node_modules/ts-loader/examples/react-cdn-simple/webpack.config.js new file mode 100644 index 000000000..7abb3171d --- /dev/null +++ b/node_modules/ts-loader/examples/react-cdn-simple/webpack.config.js @@ -0,0 +1,24 @@ +'use strict'; + +module.exports = { + entry: './src/index.tsx', + output: { filename: 'index.js' }, + module: { + rules: [ + { + test: /\.tsx?$/, + loader: 'ts-loader', + options: { + transpileOnly: true + } + } + ] + }, + resolve: { + extensions: [ '.ts', '.tsx' ] + }, + externals: { + 'react': 'React', + 'react-dom': 'ReactDOM' + } +}; -- cgit v1.2.3