bosca-ceoil-js/webpack.config.js
2019-07-16 03:31:45 -04:00

25 lines
481 B
JavaScript

path = require("path");
module.exports = {
entry: {
index: './src/player.ts'
},
module: {
rules: [
{
test: /\.tsx?$/,
use: 'ts-loader',
exclude: /node_modules/
}
]
},
resolve: {
extensions: ['.tsx', '.ts', '.js']
},
devtool: 'inline-source-map',
output: {
filename: '[name].js',
path: path.resolve(__dirname, 'assets')
}
};