refactor: Move source files from root into src/

Relocates book.js, fabula-ultima-sheet.css, and fabula-ultima-sheet.html
into src/ to consolidate all source files under one directory. Updates
webpack entry points, HTML template path, and CSS import accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-11 04:14:30 +00:00
parent 26d7a4a7fc
commit fcbd0acfb2
5 changed files with 17 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ module.exports = (env, argv) => {
return {
entry: {
sheet: "./src/sheet-main.jsx",
book: "./book.js",
book: "./src/book.js",
},
output: {
filename: isProd ? "[name].[contenthash].js" : "[name].js",
@@ -80,7 +80,7 @@ module.exports = (env, argv) => {
? [new MiniCssExtractPlugin({ filename: "[name].[contenthash].css" })]
: []),
new HtmlWebpackPlugin({
template: "./fabula-ultima-sheet.html",
template: "./src/fabula-ultima-sheet.html",
filename: "index.html",
chunks: ["sheet"],
scriptLoading: "blocking",