File tree Expand file tree Collapse file tree 2 files changed +20
-14
lines changed
Expand file tree Collapse file tree 2 files changed +20
-14
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+
4+ < head >
5+ < meta charset ="UTF-8 ">
6+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
7+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
8+ < title > Document</ title >
9+ </ head >
10+
11+ < body >
12+ < div id ="root "> </ div >
13+ </ body >
14+
15+ </ html >
Original file line number Diff line number Diff line change 1+ /**
2+ * @type {import('@rspack/cli').Configuration }
3+ */
14module . exports = {
25 mode : "development" ,
3- entry : "./src/index.tsx" ,
4- output : {
5- publicPath : "http://localhost:3000" ,
6- } ,
7- module : {
8- parser : {
9- asset : {
10- dataUrlCondition : {
11- maxSize : 1 ,
12- } ,
13- } ,
14- } ,
15- } ,
6+ entry : { main : "./src/index.tsx" } ,
167 builtins : {
17- html : [ { } ] ,
8+ html : [ { template : './index.html' } ] ,
189 define : {
1910 "process.env.NODE_ENV" : "'development'" ,
2011 } ,
You canβt perform that action at this time.
0 commit comments