mirror of
https://github.com/Eugeny/tabby
synced 2024-12-15 15:52:44 +00:00
31 lines
623 B
JavaScript
31 lines
623 B
JavaScript
module.exports = {
|
|
target: 'node',
|
|
entry: 'src/index.ts',
|
|
devtool: 'source-map',
|
|
output: {
|
|
filename: './dist/index.js',
|
|
pathinfo: true,
|
|
libraryTarget: 'umd',
|
|
devtoolModuleFilenameTemplate: 'webpack-terminus-clickable-links:///[resource-path]',
|
|
},
|
|
resolve: {
|
|
modules: ['.', 'node_modules', '../app/node_modules'],
|
|
extensions: ['.ts', '.js'],
|
|
},
|
|
module: {
|
|
loaders: [
|
|
{
|
|
test: /\.ts$/,
|
|
loader: 'awesome-typescript-loader',
|
|
},
|
|
]
|
|
},
|
|
externals: [
|
|
'fs',
|
|
'untildify',
|
|
/^rxjs/,
|
|
/^@angular/,
|
|
/^@ng-bootstrap/,
|
|
/^terminus-/,
|
|
]
|
|
}
|