mirror of https://github.com/vuejs/core.git
parent
a3725a729c
commit
d60a57542b
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2018-present, Yuxi (Evan) You
|
Copyright (c) 2018-present, Yuxi (Evan) You and Vue contributors
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
@ -131,6 +131,12 @@ function createConfig(format, output, plugins = []) {
|
||||||
(isGlobalBuild || isBrowserESMBuild || isBundlerESMBuild) &&
|
(isGlobalBuild || isBrowserESMBuild || isBundlerESMBuild) &&
|
||||||
!packageOptions.enableNonBrowserBranches
|
!packageOptions.enableNonBrowserBranches
|
||||||
|
|
||||||
|
output.banner = `/**
|
||||||
|
* ${pkg.name} v${masterVersion}
|
||||||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||||
|
* @license MIT
|
||||||
|
**/`
|
||||||
|
|
||||||
output.exports = isCompatPackage ? 'auto' : 'named'
|
output.exports = isCompatPackage ? 'auto' : 'named'
|
||||||
if (isNodeBuild) {
|
if (isNodeBuild) {
|
||||||
output.esModule = true
|
output.esModule = true
|
||||||
|
|
Loading…
Reference in New Issue