vite 2.9.0-beta.1 → 2.9.0-beta.4

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.

Potentially problematic release.


This version of vite might be problematic. Click here for more details.

package/LICENSE.md CHANGED
@@ -1210,7 +1210,7 @@ Repository: git+https://github.com/guybedford/es-module-lexer.git
1210
1210
  > MIT License
1211
1211
  > -----------
1212
1212
  >
1213
- > Copyright (C) 2018-2021 Guy Bedford
1213
+ > Copyright (C) 2018-2022 Guy Bedford
1214
1214
  >
1215
1215
  > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1216
1216
  >
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var require$$0 = require('postcss');
4
- var index$1 = require('./dep-62435a6f.js');
4
+ var index$1 = require('./dep-5a245411.js');
5
5
  var path$2 = require('path');
6
6
  var require$$1 = require('crypto');
7
7
  var fs = require('fs');
@@ -7304,8 +7304,8 @@ function getDefaultPlugins({
7304
7304
  const scope = (0, _postcssModulesScope2.default)({ generateScopedName, exportGlobals });
7305
7305
 
7306
7306
  const plugins = {
7307
- [behaviours.LOCAL]: [_postcssModulesValues2.default, _postcssModulesLocalByDefault2.default, _postcssModulesExtractImports2.default, scope],
7308
- [behaviours.GLOBAL]: [_postcssModulesValues2.default, _postcssModulesExtractImports2.default, scope]
7307
+ [behaviours.LOCAL]: [_postcssModulesValues2.default, (0, _postcssModulesLocalByDefault2.default)({ mode: 'local' }), _postcssModulesExtractImports2.default, scope],
7308
+ [behaviours.GLOBAL]: [_postcssModulesValues2.default, (0, _postcssModulesLocalByDefault2.default)({ mode: 'global' }), _postcssModulesExtractImports2.default, scope]
7309
7309
  };
7310
7310
 
7311
7311
  return plugins[behaviour];