You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
since alpha version, the local server url ends with a triple slash :
in the console :
in the browser :
config :
exportdefaultdefineConfig({server: {port: 3001,},html: {title: "Application paie",},environments: {web: {source: {entry: {index: './src/index.tsx',},},output: {distPath: {root: 'build'},cleanDistPath: true,target: 'web',},},},plugins: [/** désactivé car prend trop de mémoire, souvent OOM */pluginTypeCheck({enable: false}),/** désactivé car prend presque 30s lors du build */pluginEslint({enable: false}),pluginReact()],tools: {rspack(config,{ appendPlugins }){// Only register the plugin when RSDOCTOR is true, as the plugin will increase the build time.if(shouldUseRsdoctor){appendPlugins(newRsdoctorRspackPlugin({// voir https://rsdoctor.dev/guide/usage/rule-config pour la configuration des règleslinter: {// When set to `'Error'`, all rules will be executedlevel: 'Error',extends: [],rules: {'default-import-check': 'on','duplicate-package': 'on','loader-performance-optimization': 'on',// par défaut, c'est ES5, ce qui est trop bas pour notre app// et on ne peut changer que pour ES6 (trop bas aussi) ou ES7+ (tout ce qui ES7 ou plus) donc aucun intéret à garder la règle'ecma-version-check': "off",},},}))}config.experiments={
...(config.experiments??{}),// https://www.rspack.dev/config/experiments#experimentslazycompilation// désactivé car ne semble pas fonctionner correctementlazyCompilation: false}returnconfig}}})
Reproduce link
Sorry I don't know how to provide a production in codepen
Reproduce Steps
yarn run dev
see dev url
The text was updated successfully, but these errors were encountered:
Version
Details
since alpha version, the local server url ends with a triple slash :
in the console :
in the browser :
config :
Reproduce link
Sorry I don't know how to provide a production in codepen
Reproduce Steps
yarn run dev
see dev url
The text was updated successfully, but these errors were encountered: