text: const path = require('path');
  const fs = require("fs");
  
  module.exports = {
  	entry: './src/index.ts',
  	devtool: 'source-map',
  	module: {rules: [{use: 'ts-loader'}]},
  	resolve: {extensions: ['.ts', '.js']},
  	output: {
  		filename: 'bundle.js',
  		path: path.resolve(__dirname, 'dist'),
  		libraryTarget: "var",
  		library: "ENGINE"
  	},
  };
  