angular/integration/platform-server/webpack.server.config.mjs
Paul Gschwendtner 859ca504f8 test: run platform-server integration test with v13 partial compilation packages (#43431)
Updates the platform-server integration test to rely on the v13 partial
compilation packages. This involves setting up the Babel linker plugin.
This is a great addition for coverage of the Babel linker plugin.

PR Close #43431
2021-10-01 18:28:44 +00:00

23 lines
701 B
JavaScript

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import * as path from 'path';
import {moduleRules, baseDir} from './base-config.mjs';
export default {
target: 'node',
entry: './built/src/server.js',
// Allow for better debugging of this integration test.
// Also works around an issue where Domino is minimized incorrectly:
// https://github.com/fgnass/domino/issues/146.
optimization: {minimize: false},
output: {path: path.join(baseDir, 'webpack-out'), filename: './server-bundle.js'},
module: {
rules: moduleRules,
}
};