diff --git a/.dockerignore b/.dockerignore index 7d245c9..fd51b21 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,5 @@ node_modules/ package-lock.json -build/ \ No newline at end of file +build/ +pnpm-lock.yaml +.vscode diff --git a/.gitignore b/.gitignore index 7d245c9..4b0bf20 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ node_modules/ package-lock.json -build/ \ No newline at end of file +build/ +pnpm-lock.yaml +.vscode \ No newline at end of file diff --git a/package.json b/package.json index f76ed26..c6bcecc 100644 --- a/package.json +++ b/package.json @@ -1,18 +1,25 @@ { + "private": true, "scripts": { - "dev": "SNOWPACK_PUBLIC_API_URL=http://localhost:8081 SNOWPACK_PUBLIC_BASE_URL=http://localhost:8080 snowpack dev", - "build": "snowpack build", - "test": "echo \"Error: no test specified\" && exit 1" + "build": "webpack --config ./webpack.config.prod.js", + "dev": "webpack serve --config ./webpack.config.dev.js --stats-error-details", + "test": "echo \"Error: no test specified\" && exit 1", + "h": "cat ./webpack.config.dev.js" }, "devDependencies": { - "@snowpack/plugin-typescript": "^1.2.1", - "@types/node": "^16.3.3", - "@types/react": "^17.0.14", + "@svgr/webpack": "^5.5.0", + "@types/react": "^17.0.15", "@types/react-dom": "^17.0.9", - "@types/snowpack-env": "^2.3.3", - "snowpack": "^3.8.0", - "snowpack-plugin-svgr": "^0.1.2", - "typescript": "^4.3.5" + "copy-webpack-plugin": "^9.0.1", + "css-loader": "^6.2.0", + "esbuild-loader": "^2.13.1", + "fork-ts-checker-webpack-plugin": "^6.2.13", + "style-loader": "^3.2.1", + "typescript": "^4.3.5", + "typescript-plugin-css-modules": "^3.4.0", + "webpack": "^5.46.0", + "webpack-cli": "^4.7.2", + "webpack-dev-server": "^3.11.2" }, "dependencies": { "react": "^17.0.2", diff --git a/public/index.html b/public/index.html index 1df4b4e..9fbc3d2 100644 --- a/public/index.html +++ b/public/index.html @@ -9,6 +9,6 @@
- +