mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 22:41:31 +01:00
build: switch build/tsconfig.json to module: nodenext (#238426)
* build/tsconfig: switch to module: nodenext for bun compat * build: rewrite imports for nodenext compat * build: re-generate
This commit is contained in:
@@ -1,15 +1,18 @@
|
||||
"use strict";
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.gulpPostcss = gulpPostcss;
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
const postcss = require("postcss");
|
||||
const es = require("event-stream");
|
||||
const postcss_1 = __importDefault(require("postcss"));
|
||||
const event_stream_1 = __importDefault(require("event-stream"));
|
||||
function gulpPostcss(plugins, handleError) {
|
||||
const instance = postcss(plugins);
|
||||
return es.map((file, callback) => {
|
||||
const instance = (0, postcss_1.default)(plugins);
|
||||
return event_stream_1.default.map((file, callback) => {
|
||||
if (file.isNull()) {
|
||||
return callback(null, file);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user