Skip to content

Commit

Permalink
fmt(rspack.config.js): convert tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Collinbrown95 committed Aug 29, 2023
1 parent 639d7a7 commit 76c30fb
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions examples/rspack/rspack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,39 @@
* @type {import('@rspack/cli').Configuration}
*/
module.exports = {
context: __dirname,
entry: {
main: "./src/main.tsx"
},
builtins: {
html: [
{
template: "./index.html"
}
]
},
module: {
rules: [
{
test: /\.svg$/,
type: "asset"
},
{
test: /\.tsx$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
presets: [
"@babel/preset-typescript",
"@babel/preset-react"
],
plugins: [
"macros"
]
}
}
}
]
}
context: __dirname,
entry: {
main: "./src/main.tsx"
},
builtins: {
html: [
{
template: "./index.html"
}
]
},
module: {
rules: [
{
test: /\.svg$/,
type: "asset"
},
{
test: /\.tsx$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
presets: [
"@babel/preset-typescript",
"@babel/preset-react"
],
plugins: [
"macros"
]
}
}
}
]
}
};

0 comments on commit 76c30fb

Please sign in to comment.