rollup 2.67.3 → 2.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/bin/rollup +5 -7
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +48 -49
- package/dist/es/shared/watch.js +5 -5
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.browser.js.map +1 -1
- package/dist/rollup.d.ts +2 -1
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/mergeOptions.js +4 -4
- package/dist/shared/rollup.js +48 -49
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +3 -3
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# rollup changelog
|
|
2
2
|
|
|
3
|
+
## 2.68.0
|
|
4
|
+
|
|
5
|
+
_2022-02-22_
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- provide information about cached import resolutions in `shouldTransformCachedModule` (#4414)
|
|
10
|
+
- Add "types" field to Rollup's package exports (#4416)
|
|
11
|
+
|
|
12
|
+
### Pull Requests
|
|
13
|
+
|
|
14
|
+
- [#4410](https://github.com/rollup/rollup/pull/4410): refactor: use map for declarations and name suggestions (@dnalborczyk)
|
|
15
|
+
- [#4411](https://github.com/rollup/rollup/pull/4411): refactor: use map for namespace reexports by name (@dnalborczyk)
|
|
16
|
+
- [#4412](https://github.com/rollup/rollup/pull/4412): refactor: use includes where appropriate (@dnalborczyk)
|
|
17
|
+
- [#4414](https://github.com/rollup/rollup/pull/4414): Add resolved sources to shouldTransformCachedModule (@lukastaegert)
|
|
18
|
+
- [#4416](https://github.com/rollup/rollup/pull/4416): Add Typescript 4.5 nodenext node12 module resolution support (@frank-dspeed)
|
|
19
|
+
|
|
3
20
|
## 2.67.3
|
|
4
21
|
|
|
5
22
|
_2022-02-18_
|
package/dist/bin/rollup
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
@license
|
|
5
|
-
Rollup.js v2.
|
|
6
|
-
|
|
5
|
+
Rollup.js v2.68.0
|
|
6
|
+
Tue, 22 Feb 2022 06:24:42 GMT - commit 51cab92373bcf8c844a8de2a6765869f7eb05a5d
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
https://github.com/rollup/rollup
|
|
@@ -1633,14 +1633,12 @@ async function runRollup(command) {
|
|
|
1633
1633
|
inputSource = command.input;
|
|
1634
1634
|
}
|
|
1635
1635
|
if (inputSource && inputSource.length > 0) {
|
|
1636
|
-
if (inputSource.some((input) => input.
|
|
1636
|
+
if (inputSource.some((input) => input.includes('='))) {
|
|
1637
1637
|
command.input = {};
|
|
1638
1638
|
inputSource.forEach((input) => {
|
|
1639
1639
|
const equalsIndex = input.indexOf('=');
|
|
1640
|
-
const value = input.
|
|
1641
|
-
|
|
1642
|
-
if (!key)
|
|
1643
|
-
key = rollup.getAliasName(input);
|
|
1640
|
+
const value = input.substring(equalsIndex + 1);
|
|
1641
|
+
const key = input.substring(0, equalsIndex) || rollup.getAliasName(input);
|
|
1644
1642
|
command.input[key] = value;
|
|
1645
1643
|
});
|
|
1646
1644
|
}
|