Skip to content

Commit

Permalink
Output parcel build files to separate folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jadeaffenjaeger committed Sep 26, 2023
1 parent 276d24e commit 0bde55a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
1 change: 1 addition & 0 deletions html/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ out
# Nuxt.js build / generate output
.nuxt
dist
build

# Gatsby files
.cache/
Expand Down
2 changes: 1 addition & 1 deletion html/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"scripts": {
"start": "parcel",
"build": "parcel build --no-source-maps src/index.html"
"build": "parcel build --no-source-maps src/index.html --dist-dir build"
},
"dependencies": {
"@fontsource/lexend-peta": "^5.0.8",
Expand Down
10 changes: 0 additions & 10 deletions html/src/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ $body-bg: $light;

.navbar .navbar-brand {
font-weight: 800;
letter-spacing: .3rem;
font-size: 2.5rem;
font-family: $header_font, sans-serif;
}
Expand All @@ -37,12 +36,3 @@ h3.card-header {
.card {
background-color: white;
}

.bi {
vertical-align: -0.125em;
font-weight: bold;
}

.card-header>i {
float: right;
}
4 changes: 2 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
; https://docs.platformio.org/page/projectconf.html

[platformio]
data_dir = html/dist
data_dir = html/build

[env:nodemcuv2]
platform = espressif8266
framework = arduino
board = nodemcuv2
upload_protocol = esptool
monitor_speed = 115200
upload_speed = 115200
upload_speed = 460800
targets = upload
board_build.filesystem = littlefs
lib_deps =
Expand Down

0 comments on commit 0bde55a

Please sign in to comment.