diff --git a/scripts/build.mjs b/scripts/build.mjs index d200e2d6d..15e23a44d 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -54,7 +54,6 @@ await esbuild.build({ { name: '@vue/create-eslint-config fix', setup(build) { - // The renderEjsFile.js module uses file system APIs therefore after bundling it will not work. // So we need to preprocess it to remove the file system APIs. build.onLoad({ filter: /@vue.create-eslint-config.renderEjsFile\.js$/ }, (args) => { diff --git a/utils/renderEslint.ts b/utils/renderEslint.ts index ee4d6ae42..34933de26 100644 --- a/utils/renderEslint.ts +++ b/utils/renderEslint.ts @@ -108,7 +108,7 @@ export function getAdditionalConfigs({ ] .map(JSON.stringify.bind(JSON)) .join(',\n ') - .replace(/"/g, "'")} // use single quotes as in the other configs + .replace(/"/g, "'" /* use single quotes as in the other configs */)} ], },` } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy