remove webpack node externals

This commit is contained in:
William Welling
2021-11-18 05:03:02 -06:00
parent 0b99ce3211
commit d049caa8c0
4 changed files with 22 additions and 24 deletions

View File

@@ -2,7 +2,6 @@ import { commonExports } from './webpack.common';
import { projectRoot } from './helpers';
const webpack = require('webpack');
const nodeExternals = require('webpack-node-externals');
module.exports = Object.assign({}, commonExports, {
plugins: [
@@ -18,14 +17,4 @@ module.exports = Object.assign({}, commonExports, {
recordsOutputPath: projectRoot('webpack.records.json'),
entry: projectRoot('./server.ts'),
target: 'node',
externals: [nodeExternals({
whitelist: [
/@angular/,
/@ng/,
/angular2-text-mask/,
/ng2-file-upload/,
/ngx-sortablejs/,
/sortablejs/,
/ngx/]
})],
});