{"size": 963, "ext": "js", "max_stars_repo_path": "webpack/paths.js", "max_stars_repo_name": "AntonBaukin/tsreact", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "webpack/paths.js", "max_issues_repo_name": "AntonBaukin/tsreact", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "webpack/paths.js", "max_forks_repo_name": "AntonBaukin/tsreact", "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": 25.3421052632, "max_line_length": 63, "alphanum_fraction": 0.6396677051}
const config = require('../config.json')
const path = require('path')
const base = path.join(__dirname, '..')
const modules = path.join(base, 'node_modules')
const index = path.join(base, 'index')
const lang = path.join(base, 'lang')

module.exports = () => ({
	publicPath: config.publicPath || '/',
	modules: path.resolve(base, 'node_modules'),
	public: path.resolve(base, 'public'),
	output: path.resolve(base, 'build'),
	main: {
		sources: path.resolve(base, 'src'),
		entry: path.resolve(index, 'main.tsx'),
		html: path.resolve(index, 'index.html'),
		output: 'scripts'
	},
	styles: {
		sources: path.resolve(base, 'styles'),
		entry: path.resolve(index, 'styles.js'),
		output: 'styles'
	},
	fonts: {
		output: 'fonts',
		public: '../fonts'
	},
	icons: {
		bootstrap: path.resolve(modules, 'bootstrap-icons', 'icons'),
		spriteFile: path.join('images', 'icons.svg')
	},
	lang: {
		items: ['en'],
		output: 'lang',
		en: path.resolve(lang, 'en.json'),
	}
})
