build: update zone.js to use the new rollup_bundle (#33329)
PR Close #33329
This commit is contained in:

committed by
Alex Rickabaugh

parent
430293abe2
commit
502fa906cd
19
packages/zone.js/rollup-es5.config.js
Normal file
19
packages/zone.js/rollup-es5.config.js
Normal file
@ -0,0 +1,19 @@
|
||||
const node = require('rollup-plugin-node-resolve');
|
||||
const commonjs = require('rollup-plugin-commonjs');
|
||||
|
||||
const banner = `/**
|
||||
* @license Angular v0.0.0-PLACEHOLDER
|
||||
* (c) 2010-2019 Google LLC. https://angular.io/
|
||||
* License: MIT
|
||||
*/`;
|
||||
|
||||
module.exports = {
|
||||
plugins: [
|
||||
node({
|
||||
mainFields: ['es2015', 'module', 'jsnext:main', 'main'],
|
||||
}),
|
||||
commonjs(),
|
||||
],
|
||||
external: ['electron'],
|
||||
output: {globals: {electron: 'electron'}, banner},
|
||||
}
|
Reference in New Issue
Block a user