@atlaspack/optimizer-css 2.14.26-dev-inline-requires-reuse-bdc9ca9c3.0 → 2.14.27-inline-requires-take-2-2a0c642df.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 +11 -0
- package/lib/CSSOptimizer.js +0 -2
- package/package.json +5 -5
- package/src/CSSOptimizer.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaspack/optimizer-css
|
|
2
2
|
|
|
3
|
+
## 2.14.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#742](https://github.com/atlassian-labs/atlaspack/pull/742) [`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd) Thanks [@yamadapc](https://github.com/yamadapc)! - Internal changes and bug fixes to environmentDeduplication flag
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd), [`889c65c`](https://github.com/atlassian-labs/atlaspack/commit/889c65cd25b811045e26a117e7404f694dde77a2)]:
|
|
10
|
+
- @atlaspack/diagnostic@2.14.3
|
|
11
|
+
- @atlaspack/plugin@2.14.26
|
|
12
|
+
- @atlaspack/utils@2.18.3
|
|
13
|
+
|
|
3
14
|
## 2.14.25
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/lib/CSSOptimizer.js
CHANGED
|
@@ -77,7 +77,6 @@ var _default = exports.default = new (_plugin().Optimizer)({
|
|
|
77
77
|
let codeHighlights;
|
|
78
78
|
let message;
|
|
79
79
|
if (filename === 'package.json') {
|
|
80
|
-
// @ts-expect-error TS2345
|
|
81
80
|
message = (0, _diagnostic().md)`
|
|
82
81
|
Atlaspack\'s default CSS minifer changed from cssnano to lightningcss, but a "cssnano" key was found in **package.json**. Either remove this configuration, or configure Parcel to use @atlaspack/optimizer-cssnano instead.
|
|
83
82
|
`;
|
|
@@ -87,7 +86,6 @@ Atlaspack\'s default CSS minifer changed from cssnano to lightningcss, but a "cs
|
|
|
87
86
|
type: 'key'
|
|
88
87
|
}]);
|
|
89
88
|
} else {
|
|
90
|
-
// @ts-expect-error TS2345
|
|
91
89
|
message = (0, _diagnostic().md)`Parcel\'s default CSS minifer changed from cssnano to lightningcss, but a __${filename}__ config file was found. Either remove this config file, or configure Parcel to use @atlaspack/optimizer-cssnano instead.`;
|
|
92
90
|
codeHighlights = [{
|
|
93
91
|
start: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/optimizer-css",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.27-inline-requires-take-2-2a0c642df.0",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"node": ">= 16.0.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@atlaspack/diagnostic": "2.14.
|
|
20
|
-
"@atlaspack/plugin": "2.14.
|
|
21
|
-
"@atlaspack/utils": "2.18.
|
|
19
|
+
"@atlaspack/diagnostic": "2.14.4-inline-requires-take-2-2a0c642df.0",
|
|
20
|
+
"@atlaspack/plugin": "2.14.27-inline-requires-take-2-2a0c642df.0",
|
|
21
|
+
"@atlaspack/utils": "2.18.4-inline-requires-take-2-2a0c642df.0",
|
|
22
22
|
"@parcel/source-map": "^2.1.1",
|
|
23
23
|
"browserslist": "^4.6.6",
|
|
24
24
|
"lightningcss": "^1.28.2",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"check-ts": "tsc --emitDeclarationOnly --rootDir src",
|
|
36
36
|
"build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "2a0c642dfe354e30a8cbd23be0b1a283eab54040"
|
|
39
39
|
}
|
package/src/CSSOptimizer.ts
CHANGED
|
@@ -33,7 +33,6 @@ export default new Optimizer({
|
|
|
33
33
|
let codeHighlights;
|
|
34
34
|
let message;
|
|
35
35
|
if (filename === 'package.json') {
|
|
36
|
-
// @ts-expect-error TS2345
|
|
37
36
|
message = md`
|
|
38
37
|
Atlaspack\'s default CSS minifer changed from cssnano to lightningcss, but a "cssnano" key was found in **package.json**. Either remove this configuration, or configure Parcel to use @atlaspack/optimizer-cssnano instead.
|
|
39
38
|
`;
|
|
@@ -45,7 +44,6 @@ Atlaspack\'s default CSS minifer changed from cssnano to lightningcss, but a "cs
|
|
|
45
44
|
{key: '/cssnano', type: 'key'},
|
|
46
45
|
]);
|
|
47
46
|
} else {
|
|
48
|
-
// @ts-expect-error TS2345
|
|
49
47
|
message = md`Parcel\'s default CSS minifer changed from cssnano to lightningcss, but a __${filename}__ config file was found. Either remove this config file, or configure Parcel to use @atlaspack/optimizer-cssnano instead.`;
|
|
50
48
|
codeHighlights = [
|
|
51
49
|
{
|