Skip to content

Commit

Permalink
fix: fix small bugs
Browse files Browse the repository at this point in the history
fix: prettier slowing down main thread
feat: update sharing to support using queries with other types of share urls
feat: better type acqusition

WIP fix popstate not switching out editor value
  • Loading branch information
okikio authored Nov 15, 2021
1 parent 760ecf9 commit e84856b
Show file tree
Hide file tree
Showing 17 changed files with 1,060 additions and 744 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ You can now use search queries in **bundle**, all you need to do is add this to
e.g.
You want `react`, `react-dom`, `vue`, and `@okikio/animate`, but only want the `Animate` and `toStr` methods exported from `@okikio/animate`.

You would add this to the url [bundle.js.org/?q=react,react-dom,vue,@okikio/animate&treeshake=[\*],[\*],[\*],[Animate,toStr]](https://bundle.js.org/?q=react,react-dom,vue,@okikio/animate&treeshake=[*],[*],[*],[Animate,toStr])
You would add this to the url [bundle.js.org/?q=react,react-dom,vue,@okikio/animate&treeshake=[\*],[\*],[\*],[{Animate,toStr}]](https://bundle.js.org/?q=react,react-dom,vue,@okikio/animate&treeshake=[*],[*],[*],[{Animate,toStr}])

If you only want a couple packages and don't care to treeshake, then all you need is something like this, [bundle.js.org?q=react,react-dom,vue,@okikio/animate](https://bundle.js.org/?q=react,react-dom,vue,@okikio/animate)

Expand Down
9 changes: 5 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ task("html", async () => {
// CSS Tasks
task("css", async () => {
const [
{ default: fiber },
// { default: fiber },

{ default: postcss },
{ default: tailwind },
Expand All @@ -132,7 +132,7 @@ task("css", async () => {

{ default: rename },
] = await Promise.all([
import("fibers"),
// import("fibers"),

import("gulp-postcss"),
import("tailwindcss"),
Expand All @@ -148,7 +148,7 @@ task("css", async () => {
// Minify scss to css
postcss(
[
sass({ outputStyle: "compressed", fiber }),
sass({ outputStyle: "compressed", }), // fiber
tailwind("./tailwind.config.cjs"),
],
{ syntax: scss }
Expand Down Expand Up @@ -414,6 +414,7 @@ task("watch", async () => {
{ delay: 750 },
series("html", "css", "service-worker", "reload")
);

watch(
[`${cssSrcFolder}/**/*`, `./tailwind.config.cjs`],
{ delay: 250 },
Expand All @@ -434,7 +435,7 @@ task(
series(
"clean",
parallel("html", "css", "assets", "js"),
"minify-js",
// "minify-js",
parallelFn("minify-css", "service-worker", "sitemap")
)
);
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@
"@okikio/native": "^3.0.1",
"@okikio/sharedworker": "^1.0.3",
"@rollup/plugin-virtual": "^2.0.3",
"@typescript/ata": "^0.9.3",
"assert": "^2.0.0",
"browser-builtins": "^3.3.1",
"buffer": "^6.0.3",
"countapi-js": "^1.0.2",
"esbuild-wasm": "^0.13.12",
"esbuild-wasm": "^0.13.13",
"events": "^3.3.0",
"highlight.js": "^11.3.1",
"memfs": "^3.3.0",
Expand All @@ -50,7 +51,7 @@
"path": "^0.12.7",
"prettier": "^2.4.1",
"pretty-bytes": "^5.6.0",
"solid-js": "^1.2.2",
"solid-js": "^1.2.3",
"stream": "^0.0.2",
"typescript": "^4.4.4",
"web-animations-js": "^2.3.2",
Expand All @@ -65,7 +66,7 @@
"browser-sync": "^2.27.7",
"commitizen": "^4.2.4",
"del": "^6.0.0",
"esbuild": "^0.13.12",
"esbuild": "^0.13.13",
"esbuild-plugin-solid": "^0.4.0",
"fibers": "^5.0.0",
"gulp": "^4.0.2",
Expand Down Expand Up @@ -94,7 +95,7 @@
"rehype-external-links": "^1.0.0",
"rehype-highlight": "^5.0.0",
"rehype-slug": "^5.0.0",
"rollup": "^2.59.0",
"rollup": "^2.60.0",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.43.4",
"standard-version": "^9.3.2",
Expand Down
Loading

0 comments on commit e84856b

Please sign in to comment.