Blockly entry point (#3019)

* Move fields and renderers into their own entry point so folks are able to be more selective about which fields and renderers they include in their bundle.
This commit is contained in:
Sam El-Husseini
2019-09-16 12:36:02 -07:00
committed by GitHub
parent 2c98ecaed6
commit d9fcfdbc07
6 changed files with 358 additions and 320 deletions

View File

@@ -124,7 +124,7 @@ gulp.task('build-core', function () {
.pipe(stripApacheLicense())
.pipe(compile({
dependency_mode: 'PRUNE',
entry_point: './core-blockly.js',
entry_point: './core-requires.js',
js_output_file: 'blockly_compressed.js',
externs: './externs/svg-externs.js',
define: defines