-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump to framework7 8.3.2 + start rework JS
- Loading branch information
1 parent
130a335
commit b8d07de
Showing
48 changed files
with
2,390 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ inst/examples/chat_widget | |
docs | ||
inst/examples/chat_widget | ||
inst/tests/** | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import esbuild from "esbuild"; | ||
import {sassPlugin} from 'esbuild-sass-plugin'; | ||
import postcss from 'postcss'; | ||
import autoprefixer from 'autoprefixer'; | ||
|
||
esbuild | ||
.build({ | ||
entryPoints: ['./srcjs/main.js'], | ||
outdir: "inst/shinyMobile-1.0.1/dist", | ||
entryNames: "shinyMobile.min", | ||
bundle: true, | ||
format: "esm", | ||
minify: true, // prod | ||
sourcemap: "external", // prod | ||
plugins: [ | ||
sassPlugin({ | ||
async transform(source) { | ||
const { css } = await postcss([autoprefixer]).process(source); | ||
return css; | ||
}, | ||
}), | ||
] | ||
}) | ||
.then(() => console.log("⚡ Build complete! ⚡")) | ||
.catch(() => process.exit(1)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
.DS_Store | ||
node_modules |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.