mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-25 13:28:33 +00:00
done
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
module.exports = {
|
||||
target: 'node',
|
||||
entry: 'index.ts',
|
||||
entry: 'src/index.ts',
|
||||
devtool: 'source-map',
|
||||
output: {
|
||||
filename: './dist/index.js',
|
||||
pathinfo: true,
|
||||
library: 'terminusTerminal',
|
||||
libraryTarget: 'umd',
|
||||
devtoolModuleFilenameTemplate: 'webpack-terminus-terminal:///[resource-path]',
|
||||
},
|
||||
resolve: {
|
||||
modules: ['.', 'node_modules', '..'],
|
||||
modules: ['.', 'node_modules', '../app/node_modules'],
|
||||
extensions: ['.ts', '.js'],
|
||||
},
|
||||
module: {
|
||||
@@ -17,19 +17,20 @@ module.exports = {
|
||||
{ test: /\.ts$/, use: 'awesome-typescript-loader' },
|
||||
{ test: /schemes\/.*$/, use: "raw-loader" },
|
||||
{ test: /\.pug$/, use: ['apply-loader', 'pug-loader'] },
|
||||
{ test: /\.scss$/, use: ['style-loader', 'css-loader', 'sass-loader'] },
|
||||
{ test: /\.css$/, use: ['style-loader', 'css-loader', 'sass-loader'] },
|
||||
{ test: /\.scss$/, use: ['to-string-loader', 'css-loader', 'sass-loader'] },
|
||||
{ test: /\.css$/, use: ['to-string-loader', 'css-loader', 'sass-loader'] },
|
||||
]
|
||||
},
|
||||
externals: {
|
||||
'fs': true,
|
||||
'fs-promise': true,
|
||||
'path': true,
|
||||
'node-pty': true,
|
||||
'child-process-promise': true,
|
||||
'fs-promise': true,
|
||||
'@angular/core': true,
|
||||
'terminus-core': true,
|
||||
'terminus-settings': true,
|
||||
}
|
||||
externals: [
|
||||
'fs',
|
||||
'fs-promise',
|
||||
'font-manager',
|
||||
'path',
|
||||
'node-pty',
|
||||
'child-process-promise',
|
||||
/^rxjs/,
|
||||
/^@angular/,
|
||||
/^@ng-bootstrap/,
|
||||
/^terminus-/,
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user