return [ require_path ];
});
},
- noCopyOverride: () => {},
},
'commonjs': {
optionsOverride: (opts) => {
.then(buf => writeFile(out_path, buf))
.then(() => []);
},
- noCopyOverride: () => {},
removeModules: true,
},
'systemjs': {
return writeFile(out_path, `SystemJS.import("${ui_path}");`)
.then(() => {
console.log(`Please place SystemJS in ${path.join(script_base_path, 'system-production.js')}`);
- // FIXME: Should probably be in the legacy directory
- const promise_path = path.relative(base_out_path,
- path.join(base_out_path, 'vendor', 'promise.js'));
const systemjs_path = path.relative(base_out_path,
path.join(script_base_path, 'system-production.js'));
- return [ promise_path, systemjs_path ];
+ return [ systemjs_path ];
});
},
- noCopyOverride: (paths, no_copy_files) => {
- no_copy_files.delete(path.join(paths.vendor, 'promise.js'));
- },
},
'umd': {
optionsOverride: (opts) => {