Skip to content

Commit dfb73a1

Browse files
remove: old config, fix formatting
1 parent 5162e02 commit dfb73a1

File tree

2 files changed

+296
-340
lines changed

2 files changed

+296
-340
lines changed

rspack.config.js

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,3 @@
1-
// const path = require('path');
2-
// const { rspack } = require('@rspack/core')
3-
// const oldRules = [
4-
// {
5-
// test: /\.tsx?$/,
6-
// exclude: /node_modules/,
7-
// use: [
8-
// 'html-tag-js/jsx/tag-loader.js',
9-
// {
10-
// loader: 'babel-loader',
11-
// options: {
12-
// presets: ['@babel/preset-env', '@babel/preset-typescript'],
13-
// },
14-
// },
15-
// {
16-
// loader: 'ts-loader',
17-
// options: {
18-
// transpileOnly: true, // Skip type checking for faster builds
19-
// },
20-
// },
21-
// ],
22-
// },
23-
// {
24-
// test: /\.(hbs|md)$/,
25-
// use: ['raw-loader'],
26-
// },
27-
// {
28-
// test: /\.m.(sa|sc|c)ss$/,
29-
// use: [
30-
// 'raw-loader',
31-
// 'postcss-loader',
32-
// 'sass-loader',
33-
// ],
34-
// },
35-
// {
36-
// test: /\.(png|svg|jpg|jpeg|ico|ttf|webp|eot|woff|webm|mp4|webp|wav)(\?.*)?$/,
37-
// type: "asset/resource",
38-
// },
39-
// {
40-
// test: /(?<!\.m)\.(sa|sc|c)ss$/,
41-
// use: [
42-
// rspack.CssExtractRspackPlugin.loader,
43-
// 'css-loader',
44-
// 'postcss-loader',
45-
// 'sass-loader',
46-
// ],
47-
// type: 'javascript/auto'
48-
// },
49-
// ];
50-
511
const path = require('path');
522
const { rspack } = require('@rspack/core');
533

0 commit comments

Comments
 (0)