mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
21 lines
471 B
JavaScript
21 lines
471 B
JavaScript
module.exports = {
|
|
target: 'node',
|
|
externals: ['fs', 'net', 'events', 'readline', 'stream'],
|
|
resolve: {
|
|
extensions: [ '.ts' ]
|
|
},
|
|
module: {
|
|
loaders: [
|
|
{ test: /\.ts$/, loader: 'ts-loader' },
|
|
]
|
|
},
|
|
entry: {
|
|
'entrypoint-socket': ['./TypeScript/SocketNodeInstanceEntryPoint'],
|
|
},
|
|
output: {
|
|
libraryTarget: 'commonjs',
|
|
path: './Content/Node',
|
|
filename: '[name].js'
|
|
}
|
|
};
|