Merge pull request #750 from vector-im/madlittlemods/fix-broken-hydrogen-dev

Fix Vite not being able to analyze dynamic CSS styles import in dev on Windows
This commit is contained in:
R Midhun Suresh 2022-06-13 20:04:25 +05:30 committed by GitHub
commit 7bce0d848f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
const path = require('path'); const path = require('path').posix;
async function readCSSSource(location) { async function readCSSSource(location) {
const fs = require("fs").promises; const fs = require("fs").promises;