Description Closed [Bug]: jsx.mode: 'preserve' with minify dead code elimination generates empty output #3729
module: { rules: [ { test: /\.(js|jsx)$/, exclude: /node_modules/, use: { loader: 'babel-loader', options: { presets: ['@babel/preset-env', '@babel/preset-react'], }, }, }, ], }, 确保Babel配置中包含了适当的presets,如@babel/preset-env,它可以根据目标环境自动转换ES6+语法...
react javascript bundler typescript jsx commonjs minify rsc esmodule server-components Updated Oct 5, 2024 TypeScript cferdinandi / gulp-boilerplate Star 841 Code Issues Pull requests A boilerplate for building web projects with Gulp.js. javascript css gulp sass boilerplate minify autoprefixer...
New Functionality Flag MakerCode to ASCIIInches to PixelsVertical Font GeneratorJSON MultiLine StringJWT DecodeJSON to JSONL ConverterHTML to JSX ConverterMarkdown Table GeneratorTable to HTML ConverterScoreboard OnlineLatex Table GeneratorCash App Fees CalculatorPlaback Speed CalculatorTOML to JSON Converte...
{ "env": { "es2022": true, "node": true, "browser": true }, "parserOptions": { "ecmaVersion": 13, "sourceType": "module", "ecmaFeatures": { "jsx": true } }, "extends": [ "../javascript/node_modules/eslint-config-prettier", "../javascript/node_modules/eslint-config-airbnb...
39 39 jsxInject?: string 40 + /** 41 + * This option is not respected. Use `build.minify` instead. 42 + */ 43 + minify?: never 40 44 } 41 45 42 46 export type ESBuildTransformResult = Omit<TransformResult, 'map'> & { @@ -170,6 +174,17 @@ export function es...
(0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)( + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, + { + children: [ + /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { + children: "testing next/dynamic size", + }),...
Open remorses wants to merge 1 commit into smmoosavi:master from remorses:disable-minify+1 −0 Conversation 0 Commits 1 Checks 0 Files changed 1 Conversation remorses commented Feb 26, 2025 This makes it much easier to debug jsx-xml as a user disable minify 084cfed Sign up for...
export interface ESBuildOptions extends TransformOptions { include?: string | RegExp | string[] | RegExp[] exclude?: string | RegExp | string[] | RegExp[] jsxInject?: string /** This option is not respected. Use `build.minify` instead. */ minify?: never } export default defineConfig...
Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {{ message }} kdy1 / repro-next-minify-module Public Notifications You must be signed in to change notification settings Fork 0 Star 1 ...