mirror of
https://github.com/mtkennerly/bosca-ceoil-js.git
synced 2024-11-09 17:13:47 +01:00
25 lines
481 B
JavaScript
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')
|
|
}
|
|
};
|