forked from mystiq/hydrogen-web
Add some comments
This commit is contained in:
parent
75098b4712
commit
e54482e4c0
2 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,8 @@ set -o pipefail
|
||||||
# Enable extended globs so we can use the `!(filename)` glob syntax
|
# Enable extended globs so we can use the `!(filename)` glob syntax
|
||||||
shopt -s extglob
|
shopt -s extglob
|
||||||
|
|
||||||
|
# Only remove the directory contents instead of the whole directory to maintain
|
||||||
|
# the `npm link`/`yarn link` symlink
|
||||||
rm -rf target/*
|
rm -rf target/*
|
||||||
yarn run vite build -c vite.sdk-assets-config.js
|
yarn run vite build -c vite.sdk-assets-config.js
|
||||||
yarn run vite build -c vite.sdk-lib-config.js
|
yarn run vite build -c vite.sdk-lib-config.js
|
||||||
|
|
|
@ -3,6 +3,8 @@ const mergeOptions = require('merge-options');
|
||||||
const themeBuilder = require("./scripts/build-plugins/rollup-plugin-build-themes");
|
const themeBuilder = require("./scripts/build-plugins/rollup-plugin-build-themes");
|
||||||
const {commonOptions, compiledVariables} = require("./vite.common-config.js");
|
const {commonOptions, compiledVariables} = require("./vite.common-config.js");
|
||||||
|
|
||||||
|
// These paths will be saved without their hash so they havea consisent path to
|
||||||
|
// reference
|
||||||
const pathsToExport = [
|
const pathsToExport = [
|
||||||
"main.js",
|
"main.js",
|
||||||
"download-sandbox.html",
|
"download-sandbox.html",
|
||||||
|
|
Loading…
Reference in a new issue