@modular-css/vite 28.2.2 → 29.0.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +2 -2
  3. package/vite.js +2 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 29.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#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.
8
+
9
+ If you want to use `@modular-css/vite` with `vite@2` you'll need to stay on `@modular-css/vite@28.2.2`.
10
+
3
11
  ## 28.2.2
4
12
 
5
13
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modular-css/vite",
3
- "version": "28.2.2",
3
+ "version": "29.0.0",
4
4
  "description": "vite support for modular-css",
5
5
  "main": "./vite.js",
6
6
  "repository": {
@@ -31,6 +31,6 @@
31
31
  "@rollup/pluginutils": "^4.1.2"
32
32
  },
33
33
  "peerDependencies": {
34
- "vite": "^2.7.3"
34
+ "vite": "^3.0.3"
35
35
  }
36
36
  }
package/vite.js CHANGED
@@ -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
  );