mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
25 lines
509 B
JavaScript
25 lines
509 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
target: 'node',
|
|
resolve: {
|
|
extensions: [ '.ts' ]
|
|
},
|
|
module: {
|
|
rules: [
|
|
{ test: /\.ts$/, use: 'ts-loader' },
|
|
]
|
|
},
|
|
entry: {
|
|
'entrypoint-socket': ['./TypeScript/SocketNodeInstanceEntryPoint'],
|
|
},
|
|
output: {
|
|
libraryTarget: 'commonjs',
|
|
path: path.join(__dirname, 'Content', 'Node'),
|
|
filename: '[name].js'
|
|
},
|
|
optimization: {
|
|
minimize: false
|
|
}
|
|
};
|