{"size": 393, "ext": "js", "max_stars_repo_path": "demo/three.js-text-geometry/webpack.config.js", "max_stars_repo_name": "MinFE/ife2017", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "demo/three.js-text-geometry/webpack.config.js", "max_issues_repo_name": "MinFE/ife2017", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "demo/three.js-text-geometry/webpack.config.js", "max_forks_repo_name": "MinFE/ife2017", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 17.8636363636, "max_line_length": 52, "alphanum_fraction": 0.6437659033}
const path = require('path');

const 
	HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
	entry: {
		main: path.resolve(__dirname, 'src/app.js'),
		three: 'three'
	},
	output: {
		filename: '[name].[chunkhash].js',
		path: path.resolve(__dirname, 'dist')
	},

	plugins: [
		// html模板
		new HtmlWebpackPlugin({
			template: path.resolve(__dirname, 'index.html')
		}),
	]
}