module.exports = function() {
	return {
		bail: true,
		module: {
			loaders: [
				{
					test: /\.ts$/,
					exclude: /node_modules/,
					loader: 'ts-loader',
				},
			],
		},
		resolve: {
			extensions: ['', '.webpack.js','.web.js', '.ts', '.js'],
		},
	};
};

module.exports = function() {
	return {
		bail: true,
		module: {
			loaders: [
				{
					test: /\.ts$/,
					exclude: /node_modules/,
					loader: 'ts-loader',
				},
			],
		},
		resolve: {
			extensions: ['', '.webpack.js','.web.js', '.js', '.ts'],
		},
	};
};

Revert "Resolve typescript files *before* resolving javascript files."
Revert "Resolve typescript files *before* resolving javascript files."

This reverts commit e47cffc722c0ae405eb2c00e2109b98b191019e1.
