Skip to content

Commit

Permalink
chore(build): try to fix build env again
Browse files Browse the repository at this point in the history
  • Loading branch information
npup committed Feb 20, 2023
1 parent 4809e71 commit 1da36ee
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const isProd = "production" === process.env.NODE_ENV;

const outDir = isProd ? "docs" : "docs-local";

console.info("Astri building", { isProd, outDir });
console.info("Astro building", { isProd, outDir });

export default defineConfig({
outDir,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSS To Go - Example pages</title>
<link rel="stylesheet" href="/css-to-go/_astro/index.3e4e6c40.css" /></head>
<link rel="stylesheet" href="/css-to-go/assets/index.3e4e6c40.css" /></head>
<body class="ctg-root ctg-container ctg-theme--dark">

<h1 id="top">CSS To Go - examples</h1>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/theme-light/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSS To Go - Example pages</title>
<link rel="stylesheet" href="/css-to-go/_astro/index.3e4e6c40.css" /></head>
<link rel="stylesheet" href="/css-to-go/assets/index.3e4e6c40.css" /></head>
<body class="ctg-root ctg-container ctg-theme--light">

<h1 id="top">CSS To Go - examples</h1>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSS To Go - Example pages</title>
<link rel="stylesheet" href="/css-to-go/_astro/index.3e4e6c40.css" /></head>
<link rel="stylesheet" href="/css-to-go/assets/index.3e4e6c40.css" /></head>
<body class=" ctg-container ctg-theme--dark">

<h1 id="css-to-go">CSS To Go</h1>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"build": "NODE_ENV=production astro build && cp -R docs docs-local",
"prebuild": "npm run clean",
"postbuild": "npm run copy:dist && npm run process:docs && npm run touch-nojekyll && echo '----- Done'",
"copy:dist": "cat docs/_astro/*.css > dist/css-to-go.min.css && npx prettier docs/_astro/*.css > dist/css-to-go.css",
"copy:dist": "cat docs/assets/*.css > dist/css-to-go.min.css && npx prettier docs/assets/*.css > dist/css-to-go.css",
"process:docs": "node scripts/updateBasePath.js $npm_package_config_basePath",
"touch-nojekyll": "touch docs/.nojekyll",
"clean": "rm -rf docs docs-local dist && mkdir dist",
Expand Down

0 comments on commit 1da36ee

Please sign in to comment.