prod config

This commit is contained in:
p-wojt 2022-01-13 21:12:18 +01:00
parent 88b8f9e2ad
commit 96319232d6
5 changed files with 23 additions and 3 deletions

19
README.md Normal file
View File

@ -0,0 +1,19 @@
# roulette-wheel
## Description
Application used for entertainment. It helps to decide if we are not determined what should we choose, do or eat etc.
## Features
* `adding new elements`
* `chaning color of elements`
* `remove single element`
* `remove all elements`
* `dark and light mode`
## Demo
**Live: **
![roulette-wheel](pictures/view.png)

1
dist/bundle.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{
"scripts": {
"start": "webpack-dev-server",
"build": "webpack --config config.prod.js"
"build": "webpack --config webpack.config.prod.js"
},
"author": {
"name": "Patryk Wojtiuk",

BIN
pictures/view.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

View File

@ -6,12 +6,12 @@ module.exports = {
output: {
path:path.resolve(__dirname, "dist"),
filename: "bundle.js",
publicPath: 'dist'
publicPath: '/dist/'
},
module: {
rules: [
{
test: /\.tsx?$/,
test: /\.ts$/,
use: 'ts-loader',
exclude: /node_modules/
}