Webpack init

This commit is contained in:
Curt Spark 2024-04-12 09:57:55 +01:00
parent cc723a929d
commit 2c75133a37
5 changed files with 1402 additions and 4 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
node-modules/ node_modules/
dist/main.js

13
dist/index.html vendored Normal file
View File

@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Document</title>
</head>
<body>
<script src="main.js"></script>
</body>
</html>

1377
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -2,14 +2,20 @@
"name": "blorg-frontend", "name": "blorg-frontend",
"version": "1.0.0", "version": "1.0.0",
"description": "Frontend for Blorg", "description": "Frontend for Blorg",
"main": "index.js", "private": true,
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git.cspark.dev/Blorg/Blorg-Frontend" "url": "https://git.cspark.dev/Blorg/Blorg-Frontend"
}, },
"author": "Curt Spark", "author": "Curt Spark",
"license": "GPL-3.0-or-later" "license": "GPL-3.0-or-later",
"devDependencies": {
"prettier": "3.2.5",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
}
} }

1
src/index.js Normal file
View File

@ -0,0 +1 @@
console.log("Hi")