Skip to content

Commit 58120c6

Browse files
authored
fix: remove invalid sourceMap option (#329)
1 parent 7f5aedd commit 58120c6

File tree

21 files changed

+174
-156
lines changed

21 files changed

+174
-156
lines changed

pnpm-lock.yaml

Lines changed: 174 additions & 133 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rspack/cra-ts/rspack.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const config = {
1818
use: {
1919
loader: 'builtin:swc-loader',
2020
options: {
21-
sourceMap: true,
2221
jsc: {
2322
parser: {
2423
syntax: 'typescript',
@@ -43,7 +42,6 @@ const config = {
4342
use: {
4443
loader: 'builtin:swc-loader',
4544
options: {
46-
sourceMap: true,
4745
jsc: {
4846
parser: {
4947
syntax: 'typescript',

rspack/cra/rspack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const config = {
1818
use: {
1919
loader: 'builtin:swc-loader',
2020
options: {
21-
sourceMap: true,
2221
jsc: {
2322
parser: {
2423
syntax: 'ecmascript',

rspack/license-webpack-plugin/rspack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ module.exports = defineConfig({
2222
use: {
2323
loader: 'builtin:swc-loader',
2424
options: {
25-
sourceMap: true,
2625
jsc: {
2726
parser: {
2827
syntax: 'ecmascript',

rspack/polyfill/rspack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const config = {
1818
exclude: /node_modules/,
1919
loader: 'builtin:swc-loader',
2020
options: {
21-
sourceMap: true,
2221
env: {
2322
targets: ['> 0.01%', 'not dead', 'not op_mini all'],
2423
mode: 'usage',

rspack/preact-refresh/rspack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ const config = {
2525
use: {
2626
loader: 'builtin:swc-loader',
2727
options: {
28-
sourceMap: true,
2928
jsc: {
3029
experimental: {
3130
plugins: [

rspack/preact/rspack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const config = {
2424
use: {
2525
loader: 'builtin:swc-loader',
2626
options: {
27-
sourceMap: true,
2827
jsc: {
2928
parser: {
3029
syntax: 'ecmascript',

rspack/react-compiler-babel-ts/rspack.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ const config = {
1919
{
2020
loader: 'builtin:swc-loader',
2121
options: {
22-
sourceMap: true,
2322
jsc: {
2423
parser: {
2524
syntax: 'typescript',
@@ -36,7 +35,6 @@ const config = {
3635
{
3736
loader: 'builtin:swc-loader',
3837
options: {
39-
sourceMap: true,
4038
jsc: {
4139
parser: {
4240
syntax: 'typescript',

rspack/react-compiler-babel/rspack.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ const config = {
1919
{
2020
loader: 'builtin:swc-loader',
2121
options: {
22-
sourceMap: true,
2322
jsc: {
2423
parser: {
2524
syntax: 'ecmascript',
@@ -36,7 +35,6 @@ const config = {
3635
{
3736
loader: 'builtin:swc-loader',
3837
options: {
39-
sourceMap: true,
4038
jsc: {
4139
parser: {
4240
syntax: 'ecmascript',

rspack/react-refresh-esm/rspack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ const config = {
2727
use: {
2828
loader: 'builtin:swc-loader',
2929
options: {
30-
sourceMap: true,
3130
jsc: {
3231
parser: {
3332
syntax: 'typescript',

0 commit comments

Comments
 (0)