Unverified Commit d2f43b71 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Add experimental SWC minify and SWC loader options (#27664)

parent e3e7e084
......@@ -47,7 +47,7 @@
"@fullhuman/postcss-purgecss": "1.3.0",
"@mdx-js/loader": "0.18.0",
"@svgr/webpack": "5.5.0",
"@swc/core": "1.2.66",
"@swc/core": "1.2.74",
"@testing-library/react": "11.2.5",
"@types/cheerio": "0.22.16",
"@types/fs-extra": "8.1.0",
......
......@@ -113,7 +113,8 @@ export default (
presetEnvConfig.targets = {
// Targets the current process' version of Node. This requires apps be
// built and deployed on the same version of Node.
node: 'current',
// This is the same as using "current" but explicit
node: process.versions.node,
}
}
......
This diff is collapsed.
......@@ -15,11 +15,11 @@ path-clean = "0.1"
regex = "1.5"
serde = "1"
serde_json = "1"
swc = "0.30"
swc = "0.33"
swc_atoms = "0.2.6"
swc_common = { version = "0.11.1", features = ["tty-emitter", "sourcemap"] }
swc_node_base = "0.2.0"
swc_ecmascript = { version = "0.48.0", features = ["codegen", "optimization", "parser", "react", "transforms", "typescript", "utils", "visit"] }
swc_ecmascript = { version = "0.50.0", features = ["codegen", "optimization", "parser", "react", "transforms", "typescript", "utils", "visit"] }
swc_ecma_preset_env = "0.31.0"
fxhash = "0.2.1"
retain_mut = "0.1.3"
......
......@@ -294,22 +294,36 @@ export default async function getBaseWebpackConfig(
const babelLoader = isWebpack5
? require.resolve('./babel/loader/index')
: 'next-babel-loader'
const useSWCLoader = config.experimental.swcLoader && isWebpack5
if (useSWCLoader && babelConfigFile) {
Log.warn(
`experimental.swcLoader enabled. The custom Babel configuration will not be used.`
)
}
const defaultLoaders = {
babel: {
loader: babelLoader,
options: {
configFile: babelConfigFile,
isServer,
distDir,
pagesDir,
cwd: dir,
// Webpack 5 has a built-in loader cache
cache: !isWebpack5,
development: dev,
hasReactRefresh,
hasJsxRuntime: true,
},
},
babel: useSWCLoader
? {
loader: 'next-swc-loader',
options: {
isServer,
},
}
: {
loader: babelLoader,
options: {
configFile: babelConfigFile,
isServer,
distDir,
pagesDir,
cwd: dir,
// Webpack 5 has a built-in loader cache
cache: !isWebpack5,
development: dev,
hasReactRefresh,
hasJsxRuntime: true,
},
},
// Backwards compat
hotSelfAccept: {
loader: 'noop-loader',
......@@ -953,6 +967,7 @@ export default async function getBaseWebpackConfig(
new TerserPlugin({
cacheDir: path.join(distDir, 'cache', 'next-minifier'),
parallel: config.experimental.cpus,
swcMinify: config.experimental.swcMinify,
terserOptions,
}).apply(compiler)
},
......@@ -1041,6 +1056,7 @@ export default async function getBaseWebpackConfig(
'emit-file-loader',
'error-loader',
'next-babel-loader',
'next-swc-loader',
'next-client-pages-loader',
'next-image-loader',
'next-serverless-loader',
......
......@@ -27,117 +27,113 @@ DEALINGS IN THE SOFTWARE.
*/
import { getOptions } from 'next/dist/compiled/loader-utils'
const { transform, transformSync } = require('../../swc/core')
function makeLoader() {
return function (source, inputSourceMap) {
// Make the loader async
const callback = this.async()
const filename = this.resourcePath
let loaderOptions = getOptions(this) || {}
// Standardize on 'sourceMaps' as the key passed through to Webpack, so that
// users may safely use either one alongside our default use of
// 'this.sourceMap' below without getting error about conflicting aliases.
if (
Object.prototype.hasOwnProperty.call(loaderOptions, 'sourceMap') &&
!Object.prototype.hasOwnProperty.call(loaderOptions, 'sourceMaps')
) {
loaderOptions = Object.assign({}, loaderOptions, {
sourceMaps: loaderOptions.sourceMap,
})
delete loaderOptions.sourceMap
}
import { transform } from '../../swc'
import { trace } from '../../../telemetry/trace'
function getSWCOptions({ isTypeScript, isServer, development }) {
const jsc = {
parser: {
syntax: isTypeScript ? 'typescript' : 'ecmascript',
dynamicImport: true,
[isTypeScript ? 'tsx' : 'jsx']: true,
},
transform: {
react: {
runtime: 'automatic',
pragma: 'React.createElement',
pragmaFrag: 'React.Fragment',
throwIfNamespace: true,
development: development,
useBuiltins: true,
},
},
}
if (inputSourceMap) {
inputSourceMap = JSON.stringify(inputSourceMap)
if (isServer) {
return {
jsc,
env: {
targets: {
// Targets the current version of Node.js
node: process.versions.node,
},
},
}
} else {
// Matches default @babel/preset-env behavior
jsc.target = 'es5'
return { jsc }
}
}
const programmaticOptions = Object.assign({}, loaderOptions, {
filename,
inputSourceMap: inputSourceMap || undefined,
// Set the default sourcemap behavior based on Webpack's mapping flag,
// but allow users to override if they want.
sourceMaps:
loaderOptions.sourceMaps === undefined
? this.sourceMap
: loaderOptions.sourceMaps,
// Ensure that Webpack will get a full absolute path in the sourcemap
// so that it can properly map the module back to its internal cached
// modules.
sourceFileName: filename,
})
if (!programmaticOptions.inputSourceMap) {
delete programmaticOptions.inputSourceMap
}
async function loaderTransform(parentTrace, source, inputSourceMap) {
// Make the loader async
const filename = this.resourcePath
const sync = programmaticOptions.sync
const parseMap = programmaticOptions.parseMap
// Remove loader related options
delete programmaticOptions.sync
delete programmaticOptions.parseMap
delete programmaticOptions.customize
delete programmaticOptions.cacheDirectory
delete programmaticOptions.cacheIdentifier
delete programmaticOptions.cacheCompression
delete programmaticOptions.metadataSubscribers
// auto detect development mode
if (
this.mode &&
programmaticOptions.jsc &&
programmaticOptions.jsc.transform &&
programmaticOptions.jsc.transform.react &&
!Object.prototype.hasOwnProperty.call(
programmaticOptions.jsc.transform.react,
'development'
)
) {
programmaticOptions.jsc.transform.react.development =
this.mode === 'development'
}
const isTypeScript = filename.endsWith('.ts') || filename.endsWith('.tsx')
if (programmaticOptions.sourceMaps === 'inline') {
// Babel has this weird behavior where if you set "inline", we
// inline the sourcemap, and set 'result.map = null'. This results
// in bad behavior from Babel since the maps get put into the code,
// which Webpack does not expect, and because the map we return to
// Webpack is null, which is also bad. To avoid that, we override the
// behavior here so "inline" just behaves like 'true'.
programmaticOptions.sourceMaps = true
}
let loaderOptions = getOptions(this) || {}
try {
if (sync) {
const output = transformSync(source, programmaticOptions)
callback(
null,
output.code,
parseMap ? JSON.parse(output.map) : output.map
)
} else {
transform(source, programmaticOptions).then(
(output) => {
callback(
null,
output.code,
parseMap ? JSON.parse(output.map) : output.map
)
},
(err) => {
callback(err)
}
)
}
} catch (e) {
callback(e)
}
const swcOptions = getSWCOptions({
isTypeScript,
isServer: loaderOptions.isServer,
development: this.mode === 'development',
})
const programmaticOptions = {
...swcOptions,
filename,
inputSourceMap: inputSourceMap ? JSON.stringify(inputSourceMap) : undefined,
// Set the default sourcemap behavior based on Webpack's mapping flag,
sourceMaps: this.sourceMap,
// Ensure that Webpack will get a full absolute path in the sourcemap
// so that it can properly map the module back to its internal cached
// modules.
sourceFileName: filename,
}
if (!programmaticOptions.inputSourceMap) {
delete programmaticOptions.inputSourceMap
}
// auto detect development mode
if (
this.mode &&
programmaticOptions.jsc &&
programmaticOptions.jsc.transform &&
programmaticOptions.jsc.transform.react &&
!Object.prototype.hasOwnProperty.call(
programmaticOptions.jsc.transform.react,
'development'
)
) {
programmaticOptions.jsc.transform.react.development =
this.mode === 'development'
}
const swcSpan = parentTrace.traceChild('next-swc-transform')
return swcSpan.traceAsyncFn(() =>
transform(source, programmaticOptions).then((output) => {
return [output.code, output.map ? JSON.parse(output.map) : undefined]
})
)
}
module.exports = makeLoader()
module.exports.custom = makeLoader
export default function swcLoader(inputSource, inputSourceMap) {
const loaderSpan = trace('next-swc-loader', this.currentTraceSpan?.id)
const callback = this.async()
loaderSpan
.traceAsyncFn(() =>
loaderTransform.call(this, loaderSpan, inputSource, inputSourceMap)
)
.then(
([transformedSource, outputSourceMap]) =>
callback?.(null, transformedSource, outputSourceMap || inputSourceMap),
(err) => {
callback?.(err)
}
)
}
......@@ -104,9 +104,10 @@ class Webpack4Cache {
export class TerserPlugin {
constructor(options = {}) {
const { cacheDir, terserOptions = {}, parallel } = options
const { cacheDir, terserOptions = {}, parallel, swcMinify } = options
this.options = {
swcMinify,
cacheDir,
parallel,
terserOptions,
......@@ -188,6 +189,27 @@ export class TerserPlugin {
// eslint-disable-next-line consistent-return
const getWorker = () => {
if (this.options.swcMinify) {
return {
minify: async (options) => {
const result = await require('../../../../swc').transform(
options.input,
{
minify: true,
jsc: {
minify: {
compress: true,
mangle: true,
},
},
}
)
return result
},
}
}
if (initializedWorker) {
return initializedWorker
}
......@@ -204,7 +226,12 @@ export class TerserPlugin {
}
const limit = pLimit(
numberOfAssetsForMinify > 0 ? numberOfWorkers : Infinity
// When using the SWC minifier the limit will be handled by Node.js
this.options.swcMinify
? Infinity
: numberOfAssetsForMinify > 0
? numberOfWorkers
: Infinity
)
const scheduledTasks = []
......@@ -214,7 +241,7 @@ export class TerserPlugin {
const { name, inputSource, info, eTag } = asset
let { output } = asset
const minifySpan = terserSpan.traceChild('minify-fs')
const minifySpan = terserSpan.traceChild('minify-js')
minifySpan.setAttribute('name', name)
minifySpan.setAttribute(
'cache',
......
......@@ -85,6 +85,8 @@ export type NextConfig = { [key: string]: any } & {
strictPostcssConfiguration?: boolean
}
experimental?: {
swcMinify?: boolean
swcLoader?: boolean
cpus?: number
plugins?: boolean
profiling?: boolean
......@@ -157,6 +159,8 @@ export const defaultConfig: NextConfig = {
keepAlive: true,
},
experimental: {
swcLoader: false,
swcMinify: false,
cpus: Math.max(
1,
(Number(process.env.CIRCLE_NODE_TOTAL) ||
......
......@@ -3849,85 +3849,85 @@
"@svgr/plugin-svgo" "^5.5.0"
loader-utils "^2.0.0"
"@swc/core-android-arm64@^1.2.66":
version "1.2.66"
resolved "https://registry.yarnpkg.com/@swc/core-android-arm64/-/core-android-arm64-1.2.66.tgz#ce45abb2220684739616443d2c455ba0b8713e1d"
integrity sha512-qSc+wvqeHh+rjyJDBZSXQI2VCJ9xHPZpZk9fehvgcYmsPHkcjtUt6lwj6SIFdkklasw4p1Jq7vMQzAdegUa9VQ==
"@swc/core-darwin-arm64@^1.2.66":
version "1.2.66"
resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.2.66.tgz#804d10c5ccaa359a48eb02047c91f029bdc0618a"
integrity sha512-ij0vh+HJJRggN6zwY/WQ1BaQHit+w/VbdHjM+nzYtzASpSiN3+jvb6XeON5bKLxnDGPvuKsk4Bgg1k5ib9oTxQ==
"@swc/core-darwin-x64@^1.2.66":
version "1.2.66"
resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.2.66.tgz#47dbe1b8b5ceb145267a419ebaedc9e260ded5fc"
integrity sha512-TvxV/ntjdwsUdvhuvIG53kZUtrMcBGAwqYNveuk24fjytZqtV0UC6TfHw+iUd+DeAm+4wLIgyZIatlyxqmm3TQ==
"@swc/core-freebsd-x64@^1.2.66":
version "1.2.66"
resolved "https://registry.yarnpkg.com/@swc/core-freebsd-x64/-/core-freebsd-x64-1.2.66.tgz#609b68a9612e92cb7d86ff6f98da5a46103c204f"
integrity sha512-5D/MBbnOU4NCpG9UyYJCkqOKH0+hPX9T/x8GqQbPy9BBBYQLey42ISyvx33HgD2XTVy8cnLr3vFrhLnWmoFy1A==
"@swc/core-linux-arm-gnueabihf@^1.2.66":
version "1.2.66"
resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.2.66.tgz#df4242f842f096ac4cc581099ae86db517070e91"
integrity sha512-aWPdEGAkDUJ326BzK5f26hq6Ra2MMzwe2saJW6xjkefbJn0CFtpGX/koFmqpL6ewRlkOQlKcjvN+3ndjtmQEhw==
"@swc/core-linux-arm64-gnu@^1.2.66":
version "1.2.66"
resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.2.66.tgz#3b62f0f9d1af1e549a98480609a85c39bc797941"
integrity sha512-Jc5ePO2zsvFgFp5myesOTcRxOb/SVwJvDDDGrilyE+5Ou9iACfYRwFk/2E9P6FK3t5KnZbRMPLJVIoPQ0mm10A==
"@swc/core-linux-arm64-musl@^1.2.66":
version "1.2.66"
resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.2.66.tgz#272e2ad543308936f46de07a349931844700470e"
integrity sha512-S/3jriGPYipACxGdgo2tEjr9J3ZRk2K8nsyQQRwsDofr1P5PTN9coGWpSX+/YdbJa1bYo0CCLpdaeJIDiP/bng==
"@swc/core-linux-x64-gnu@^1.2.66":
version "1.2.66"
resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.2.66.tgz#79825533b43f3938985a1846b4bbd22b19f3b92a"
integrity sha512-nk+saTGX4LoVl1m5rIaDJZ/zdr7lqxtQ2ab/cAk158Bpix1W+YaWTM14YojVurE0h8U6OmNYBQd1gB9wm+eTHQ==
"@swc/core-linux-x64-musl@^1.2.66":
version "1.2.66"
resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.2.66.tgz#32f89bc35befaca577e2009fe18b37a1e596d6db"
integrity sha512-LkGwggHPa4v4dn/61AbqWELxTqkLRXSZeFT7TN3fqsJ7fZn5U0G/TvTIODFEw1hz6B4d4OQpvx8NZ9woIrbgFQ==
"@swc/core-win32-arm64-msvc@^1.2.66":
version "1.2.66"
resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.2.66.tgz#829a5b97a3f3283ddff72534488dbdcc0c5246ce"
integrity sha512-KYHcBKAIfBC0Sv8QXi2p0xJpY4P1LaVbxUey+m9aQJG+yAq/MPq5emO+leZ34veJHQgw876VTsVTqPcqrMyGTw==
"@swc/core-win32-ia32-msvc@^1.2.66":
version "1.2.66"
resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.2.66.tgz#ccacda98ec99337075e94e3d1c48df86381ecb7b"
integrity sha512-+QbC1W245rLOmP6YXJAiizfC28MLol+0w+TFf+n42cQMecjfwZpdmhLCwaJNOfT3sq5F8mY77+rk3KngUaOvfw==
"@swc/core-win32-x64-msvc@^1.2.66":
version "1.2.66"
resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.2.66.tgz#71d7e02f929a7dbbe670e8c374d65253b7dd79a9"
integrity sha512-xnuLSpmgUJ/9KI4O7dIKAhoiWPRjDd0175Fqeltj8o87FQQkskc+c6BS5Lp7XnroWIf/UE6os8sRxt5LbcfSOA==
"@swc/core@1.2.66":
version "1.2.66"
resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.2.66.tgz#f82409ffadba4a4bc3333b0fd230cbd970a1657e"
integrity sha512-zwQlgXvpBkDwIXlVBp9VRYm8NoEmFQSpIiDzFrrvTeYKXPOIjDDMDFiFz5k1UEZejR4nCHo1MUyCXaRoykRDqg==
"@swc/core-android-arm64@^1.2.74":
version "1.2.74"
resolved "https://registry.yarnpkg.com/@swc/core-android-arm64/-/core-android-arm64-1.2.74.tgz#7e12fde1ba557dad803bc27b5b6cef04957e7ba3"
integrity sha512-mKqs5QmY4uEUopk98rM4dH0g7iWRH172Z8Bd752/eR9R5Yzut/dEGZCN5lnDfCLc1hecJz3DFsU/71jG4T+1WQ==
"@swc/core-darwin-arm64@^1.2.74":
version "1.2.74"
resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.2.74.tgz#6b6c6f1a9c12f5c4647f324985aa8f52a6967113"
integrity sha512-i8bRE/oQAyPmB3Vwk1GfydFbCnsidfXQgyFK0qDsQN7tNPZg5esqQVeAzDWhGWdMK6VAGcMDY3/RinR8KkKCmg==
"@swc/core-darwin-x64@^1.2.74":
version "1.2.74"
resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.2.74.tgz#588393d8d5d7b52985cbdeaa93ccdf2f8233a9d4"
integrity sha512-3vcKNlkCa40FosdltLytRHHT4KFnzg5Ws2k40nYT2g55UBk4SHou6eeq9gP0FYkerTNPWhS5c8KyAHCnBXOhoA==
"@swc/core-freebsd-x64@^1.2.74":
version "1.2.74"
resolved "https://registry.yarnpkg.com/@swc/core-freebsd-x64/-/core-freebsd-x64-1.2.74.tgz#353ec8a9d60031fe39f3ba1ecc0488842226e79b"
integrity sha512-YFIuIYbs3TUWQFBjs8KCff/nj4yBm1WIrq2w1ZfHOSbTMRnz3slksEviz6QzUhDK6fO8HUwudhxO5INRuWWxfQ==
"@swc/core-linux-arm-gnueabihf@^1.2.74":
version "1.2.74"
resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.2.74.tgz#16486b80a30401604bf1524918447ff1bb7baf8a"
integrity sha512-iwLMOGwfH6r1U5Kyu76I2E+6BVKYWFA+l1z6Ja+9rk9qHBeQws6p5vP3HcezQQeKBbmNx6kcF9+RRT6v8yUz7w==
"@swc/core-linux-arm64-gnu@^1.2.74":
version "1.2.74"
resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.2.74.tgz#192b805894ca6c09aa6e5dbd1c8caabbaf9fff7b"
integrity sha512-2ndc5Ei88Ifxc9joDtANIhlUSpq5C3Qbc+g/gUUGF2lPCiMk6kPxnpwvDKpAowi7dSeIW94+/9O8l58D8cHRVg==
"@swc/core-linux-arm64-musl@^1.2.74":
version "1.2.74"
resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.2.74.tgz#c9ec655f6c8f77fc600f078ce1b169baacb76c05"
integrity sha512-xKNg87bdmmXwyjspiDOdFvGNcuHJ/lL5ouWTriICJ0W8lzuTNs8E9rpk/aPXdPvOhdxT4ACf8x+c1+eHZPsJPA==
"@swc/core-linux-x64-gnu@^1.2.74":
version "1.2.74"
resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.2.74.tgz#f1dd963c7017f4fc4d95413b6b3f656a981b7621"
integrity sha512-1q+9WWykTj4Mg5p22O7klr2kx67LL1TSmVJKtCVUNBHNeqlSGTCHA9lGh8ETGIW/iWuvXHTnYMlV9RhPWMZVHQ==
"@swc/core-linux-x64-musl@^1.2.74":
version "1.2.74"
resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.2.74.tgz#abe7e5280879f9ea290a6eecced4da8cf65ee0de"
integrity sha512-r/ZnFGn/VwOpboW6dKolStxArBFM0fb1xk+og6KZJtKZE9sE+Y5CAOvcvAxNzic+K2FX47ZSWHIFoHg5yoTkuQ==
"@swc/core-win32-arm64-msvc@^1.2.74":
version "1.2.74"
resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.2.74.tgz#8354673065c951955dc3af958cc938f297c57c96"
integrity sha512-u1ww9SaY4sMqogXZorlHpaursJnvgTi86lwJN1E+kKo4MFANcB354FvBUNg+QIRwN7itNvoP+lxHHP9NF87gdg==
"@swc/core-win32-ia32-msvc@^1.2.74":
version "1.2.74"
resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.2.74.tgz#3f5aadc10381409c79106b24030da5d2066ad061"
integrity sha512-yftd+MMxJUCmH8DRZ7ZeRE4bTD7+jYFgf2epswF4gdyotB4clvCcL2BDxEN56sMJzrO0+SkTKYEkfFmPQtVUBQ==
"@swc/core-win32-x64-msvc@^1.2.74":
version "1.2.74"
resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.2.74.tgz#def33e667ed707f9071f03b10a255f15871262bd"
integrity sha512-zRBBPNLj+hJHNzQ3JZ3YJjSHmVgcVg4wKV5pChr8PO6dMPrYX5RpuOCLwVIUHvCdQ6TmTc/AdGJDP/VpMQfkdA==
"@swc/core@1.2.74":
version "1.2.74"
resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.2.74.tgz#66348ddfae8c15ba5eaeb0a509fb30a0e354c0b1"
integrity sha512-ICIXnLUYutYiK6wWb2DXNPZyKgTLHY+BxGbCZs45WwOBjsxden/bznIilPN4lEkNgjzYCZbwi9asuVzH+Ar9BA==
dependencies:
"@node-rs/helper" "^1.0.0"
optionalDependencies:
"@swc/core-android-arm64" "^1.2.66"
"@swc/core-darwin-arm64" "^1.2.66"
"@swc/core-darwin-x64" "^1.2.66"
"@swc/core-freebsd-x64" "^1.2.66"
"@swc/core-linux-arm-gnueabihf" "^1.2.66"
"@swc/core-linux-arm64-gnu" "^1.2.66"
"@swc/core-linux-arm64-musl" "^1.2.66"
"@swc/core-linux-x64-gnu" "^1.2.66"
"@swc/core-linux-x64-musl" "^1.2.66"
"@swc/core-win32-arm64-msvc" "^1.2.66"
"@swc/core-win32-ia32-msvc" "^1.2.66"
"@swc/core-win32-x64-msvc" "^1.2.66"
"@swc/core-android-arm64" "^1.2.74"
"@swc/core-darwin-arm64" "^1.2.74"
"@swc/core-darwin-x64" "^1.2.74"
"@swc/core-freebsd-x64" "^1.2.74"
"@swc/core-linux-arm-gnueabihf" "^1.2.74"
"@swc/core-linux-arm64-gnu" "^1.2.74"
"@swc/core-linux-arm64-musl" "^1.2.74"
"@swc/core-linux-x64-gnu" "^1.2.74"
"@swc/core-linux-x64-musl" "^1.2.74"
"@swc/core-win32-arm64-msvc" "^1.2.74"
"@swc/core-win32-ia32-msvc" "^1.2.74"
"@swc/core-win32-x64-msvc" "^1.2.74"
"@szmarczak/http-timer@^1.1.2":
version "1.1.2"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment