Closed fuwei-1993 closed 1 year ago
Use config { mode: 'usage' } and the corejs path was not found
"@swc/core": "1.3.41", "@swc/helpers": "0.4.14", "swc-loader": "0.2.3"
{ test: /\.(js|jsx)$/, include: [/(src)/, /(node_modules(\/|\\)@seeyon)/], use: [ { loader: 'swc-loader', options: { "jsc": { "parser": { "syntax": "ecmascript", "jsx": true, }, }, "isModule": true, "env": { "targets": "Chrome >= 65", mode: 'usage', "coreJs": '3.26.1' } }, }, ], },
Issue
Use config { mode: 'usage' } and the corejs path was not found
Version
Config
Expected result
Actual result