This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: build zone-evergreen.js in es2015, add terser minify support
- Loading branch information
1 parent
82dfd75
commit 2ad936b
Showing
27 changed files
with
334 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
module.exports = function (config) { | ||
require('./karma-build-jasmine.conf.js')(config); | ||
for (let i = 0; i < config.files.length; i ++) { | ||
if (config.files[i] === 'node_modules/core-js-bundle/index.js') { | ||
config.files.splice(i, 1); | ||
break; | ||
} | ||
} | ||
config.client.entrypoint = 'browser_es2015_entry_point'; | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
module.exports = function (config) { | ||
require('./karma-dist-jasmine.conf.js')(config); | ||
require('./sauce.es2015.conf')(config); | ||
const files = config.files; | ||
config.files = []; | ||
for (let i = 0; i < files.length; i ++) { | ||
if (files[i] !== 'node_modules/core-js-bundle/index.js' || files[i] === 'build/test/main.js') { | ||
config.files.push(files[i]); | ||
} | ||
} | ||
config.files.push('build/test/wtf_mock.js'); | ||
config.files.push('build/test/test_fake_polyfill.js'); | ||
config.files.push('build/test/custom_error.js'); | ||
config.files.push({pattern: 'dist/zone-evergreen.js', type: 'module'}); | ||
config.files.push('dist/zone-patch-canvas.js'); | ||
config.files.push('dist/zone-patch-fetch.js'); | ||
config.files.push('dist/webapis-media-query.js'); | ||
config.files.push('dist/webapis-notification.js'); | ||
config.files.push('dist/zone-patch-user-media.js'); | ||
config.files.push('dist/zone-patch-resize-observer.js'); | ||
config.files.push('dist/task-tracking.js'); | ||
config.files.push('dist/wtf.js'); | ||
config.files.push('dist/zone-testing.js'); | ||
config.files.push('build/test/test-env-setup-jasmine.js'); | ||
config.files.push('build/lib/common/error-rewrite.js'); | ||
config.files.push('build/test/browser/custom-element.spec.js'); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<script src='../../dist/zone-evergreen.js'></script> | ||
</head> | ||
<body> | ||
<div id="thetext">Hello Zones!</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<script src='../../node_modules/core-js-bundle/index.js'></script> | ||
<script src='../../dist/zone.js'></script> | ||
</head> | ||
<body> | ||
<div id="thetext">Hello Zones!</div> | ||
</body> | ||
</html> | ||
</html> |
Oops, something went wrong.