@modular-css/vite 28.2.1 → 29.0.1
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 +23 -0
- package/package.json +4 -4
- package/vite.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 29.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`daa9c53`](https://github.com/tivac/modular-css/commit/daa9c535e19f434e651fcbbbaf7cf48fa7b481ae)]:
|
|
8
|
+
- @modular-css/processor@28.1.4
|
|
9
|
+
- @modular-css/css-to-js@28.2.3
|
|
10
|
+
|
|
11
|
+
## 29.0.0
|
|
12
|
+
|
|
13
|
+
### Major Changes
|
|
14
|
+
|
|
15
|
+
- [#874](https://github.com/tivac/modular-css/pull/874) [`65cc277`](https://github.com/tivac/modular-css/commit/65cc2775976570ad50c483abef664483f2b7edf9) Thanks [@Morklympious](https://github.com/Morklympious)! - Updated to support `vite@3`, but now no longer supports `vite@2` due to an API incompatibility between the versions.
|
|
16
|
+
|
|
17
|
+
If you want to use `@modular-css/vite` with `vite@2` you'll need to stay on `@modular-css/vite@28.2.2`.
|
|
18
|
+
|
|
19
|
+
## 28.2.2
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [[`2a20cd5`](https://github.com/tivac/modular-css/commit/2a20cd528d3a1dd34d2f034400ce334aeffa09ec)]:
|
|
24
|
+
- @modular-css/css-to-js@28.2.2
|
|
25
|
+
|
|
3
26
|
## 28.2.1
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modular-css/vite",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "29.0.1",
|
|
4
4
|
"description": "vite support for modular-css",
|
|
5
5
|
"main": "./vite.js",
|
|
6
6
|
"repository": {
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"postcss"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@modular-css/css-to-js": "^28.2.
|
|
30
|
-
"@modular-css/processor": "^28.
|
|
29
|
+
"@modular-css/css-to-js": "^28.2.3",
|
|
30
|
+
"@modular-css/processor": "^28.1.4",
|
|
31
31
|
"@rollup/pluginutils": "^4.1.2"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"vite": "^
|
|
34
|
+
"vite": "^3.0.3"
|
|
35
35
|
}
|
|
36
36
|
}
|
package/vite.js
CHANGED
|
@@ -49,7 +49,7 @@ module.exports = (
|
|
|
49
49
|
|
|
50
50
|
const { graph } = processor;
|
|
51
51
|
|
|
52
|
-
// eslint-disable-next-line no-console, no-empty-function
|
|
52
|
+
// eslint-disable-next-line no-console, no-empty-function -- logging is fine chill out
|
|
53
53
|
const log = options.verbose ? console.log.bind(console, "[@mcss/vite]") : () => { };
|
|
54
54
|
|
|
55
55
|
// istanbul ignore if: too hard to test this w/ defaults
|
|
@@ -145,7 +145,9 @@ module.exports = (
|
|
|
145
145
|
await viteServer.moduleGraph.updateModuleInfo(
|
|
146
146
|
node,
|
|
147
147
|
new Set(imported),
|
|
148
|
+
null,
|
|
148
149
|
new Set(hmrDeps),
|
|
150
|
+
null,
|
|
149
151
|
true,
|
|
150
152
|
Boolean(opts.ssr),
|
|
151
153
|
);
|