mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
disable stripping license comments
fixes an issue with packaging dist/outplan.js
This commit is contained in:
parent
5b95c84550
commit
1cc74a8049
6
node_modules/architect-build/module-deps.js
generated
vendored
6
node_modules/architect-build/module-deps.js
generated
vendored
@ -29,7 +29,7 @@ module.exports = function(mains, opts) {
|
||||
if (!opts.transforms)
|
||||
opts.transforms = [];
|
||||
|
||||
opts.transforms.push(removeLicenceComments, wrapUMD);
|
||||
opts.transforms.push(wrapUMD);
|
||||
|
||||
if (opts.pathConfig) {
|
||||
opts.paths = opts.paths || opts.pathConfig.paths;
|
||||
@ -391,8 +391,8 @@ function wrapUMD(module) {
|
||||
+ ' $build_deps$.module.define(name, [], function() { return $build_deps$.module.exports });\n'
|
||||
+ ' }\n'
|
||||
+ '}\n'
|
||||
+ 'define.amd = true;'
|
||||
+ module.source
|
||||
+ 'define.amd = true;\n'
|
||||
+ module.source + '\n'
|
||||
+ '});';
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user