Skip to content

Commit

Permalink
Pre-build pages and updated preacetement
Browse files Browse the repository at this point in the history
  • Loading branch information
jahilldev committed Jan 4, 2022
1 parent eead3fc commit 9366396
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 19 deletions.
1 change: 1 addition & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = function (config) {

config.setUseGitIgnore(false);
config.setDataDeepMerge(true);
config.setWatchThrottleWaitTime(300);

config.addTransform('jsx', (content) => {
if (isValidElement(content)) {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "jhukdev",
"license": "MIT",
"scripts": {
"start": "npm-run-all clean -p watch:*",
"start": "npm-run-all clean build:pages -p watch:*",
"clean": "rimraf dist src/_js",
"build": "npm-run-all clean build:*",
"build:pages": "webpack",
Expand All @@ -19,7 +19,7 @@
"dependencies": {
"preact": "10.5.13",
"preact-render-to-string": "5.1.18",
"preactement": "1.4.5"
"preactement": "1.6.0"
},
"devDependencies": {
"@11ty/eleventy": "0.12.1",
Expand Down
21 changes: 4 additions & 17 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3612,11 +3612,6 @@ postcss@^8.2.4:
nanoid "^3.1.20"
source-map "^0.6.1"

preact-markup@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/preact-markup/-/preact-markup-2.1.1.tgz#0451e7eed1dac732d7194c34a7f16ff45a2cfdd7"
integrity sha512-8JL2p36mzK8XkspOyhBxUSPjYwMxDM0L5BWBZWxsZMVW8WsGQrYQDgVuDKkRspt2hwrle+Cxr/053hpc9BJwfw==

preact-render-to-string@5.1.18:
version "5.1.18"
resolved "https://registry.yarnpkg.com/preact-render-to-string/-/preact-render-to-string-5.1.18.tgz#c57fe62642981db47e95edda2354873e6b799a1a"
Expand All @@ -3629,13 +3624,10 @@ preact@10.5.13:
resolved "https://registry.yarnpkg.com/preact/-/preact-10.5.13.tgz#85f6c9197ecd736ce8e3bec044d08fd1330fa019"
integrity sha512-q/vlKIGNwzTLu+jCcvywgGrt+H/1P/oIRSD6mV4ln3hmlC+Aa34C7yfPI4+5bzW8pONyVXYS7SvXosy2dKKtWQ==

preactement@1.4.5:
version "1.4.5"
resolved "https://registry.yarnpkg.com/preactement/-/preactement-1.4.5.tgz#763491e088ea0a218760a054bd2157c43194fb96"
integrity sha512-9HyrifTlU5lPs9vrAHxkqtmJ/EJtNJvn3EHKoRyEpvwq0vZCEFIWCfwetQLgeinmFoLuGzNfc5R7qJx0fNth2A==
dependencies:
preact-markup "^2.1.1"
tslib "^2.2.0"
preactement@1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/preactement/-/preactement-1.6.0.tgz#6bab9591055a940bbc8c7d1e6de26ae65a91eb59"
integrity sha512-qhLs4drcvDiO/cb/5ksC5tN4ESmy9gb+xkh7ldV96rOvKltnmAXv8mPwDeifyNDqm4TmO+a/NTt4PolaP1mvJA==

prelude-ls@^1.2.1:
version "1.2.1"
Expand Down Expand Up @@ -4639,11 +4631,6 @@ tslib@^1.8.1, tslib@^1.9.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043"
integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==

tslib@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.2.0.tgz#fb2c475977e35e241311ede2693cee1ec6698f5c"
integrity sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==

tsutils@^3.17.1:
version "3.17.1"
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759"
Expand Down

0 comments on commit 9366396

Please sign in to comment.