mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
23 lines
701 B
JavaScript
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,
|
|
}
|
|
};
|