mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e41a52286f
This reverts commit 9bc15994ce.
PR Close #55326
27 lines
560 B
JavaScript
27 lines
560 B
JavaScript
// #docplaster ...
|
|
// #docregion webpack-config
|
|
import linkerPlugin from '@angular/compiler-cli/linker/babel';
|
|
|
|
export default {
|
|
// #enddocregion webpack-config
|
|
// #docregion webpack-config
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.m?js$/,
|
|
use: {
|
|
loader: 'babel-loader',
|
|
options: {
|
|
plugins: [linkerPlugin],
|
|
compact: false,
|
|
cacheDirectory: true,
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
// #enddocregion webpack-config
|
|
// #docregion webpack-config
|
|
}
|
|
// #enddocregion webpack-config
|