diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-05-24 15:10:37 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-05-24 15:11:17 +0200 |
commit | 7a3df06eb573d36142bd1a8e03c5ce8752d300b3 (patch) | |
tree | 70bfaea8884c374876f607774850a3a51c0cb381 /node_modules/ts-loader/examples/webpack1-gulp-react-flux-babel-karma/webpack.config.js | |
parent | aca1143cb9eed16cf37f04e475e4257418dd18ac (diff) |
fix build issues and add typedoc
Diffstat (limited to 'node_modules/ts-loader/examples/webpack1-gulp-react-flux-babel-karma/webpack.config.js')
-rw-r--r-- | node_modules/ts-loader/examples/webpack1-gulp-react-flux-babel-karma/webpack.config.js | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/node_modules/ts-loader/examples/webpack1-gulp-react-flux-babel-karma/webpack.config.js b/node_modules/ts-loader/examples/webpack1-gulp-react-flux-babel-karma/webpack.config.js deleted file mode 100644 index cc26b27b7..000000000 --- a/node_modules/ts-loader/examples/webpack1-gulp-react-flux-babel-karma/webpack.config.js +++ /dev/null @@ -1,43 +0,0 @@ -/* eslint-disable no-var, strict, prefer-arrow-callback */ -'use strict'; - -var path = require('path'); - -module.exports = { - cache: true, - entry: { - main: './src/main.tsx', - vendor: [ - 'babel-polyfill', - 'fbemitter', - 'flux', - 'react', - 'react-dom' - ] - }, - output: { - path: path.resolve(__dirname, './dist/scripts'), - filename: '[name].js', - chunkFilename: '[chunkhash].js' - }, - module: { - loaders: [{ - test: /\.ts(x?)$/, - exclude: /node_modules/, - loader: 'babel-loader?presets[]=es2016&presets[]=es2015&presets[]=react!ts-loader' - }, { - test: /\.js$/, - exclude: /node_modules/, - loader: 'babel', - query: { - presets: ['es2016', 'es2015', 'react'] - } - }] - }, - plugins: [ - ], - resolve: { - // Add `.ts` and `.tsx` as a resolvable extension. - extensions: ['.webpack.js', '.web.js', '.ts', '.tsx', '.js'] - }, -}; |