ci: update deploy

This commit is contained in:
Rongjian Zhang 2022-03-01 15:39:08 +08:00
parent 48cf9aaf1c
commit c780b0acc4
3 changed files with 3 additions and 5 deletions

View File

@ -1,9 +1,8 @@
# https://docs.netlify.com/configure-builds/file-based-configuration/#configuration-details
# https://answers.netlify.com/t/using-pnpm-and-pnpm-workspaces/2759
[build.environment]
NPM_FLAGS="--prefix=/dev/null"
[build]
publish = "examples/svelte-webpack/public"
command = "npx pnpm install && npm run build && cd examples/svelte-webpack && npm run build"
publish = "packages/playground/dist"
command = "npm install -g pnpm && pnpm install && pnpm build"

View File

@ -1,5 +1,4 @@
@import 'codemirror-ssr/lib/codemirror.css';
@import 'codemirror-ssr/addon/lint/lint.css';
@import 'tippy.js/dist/tippy.css';
@import 'tippy.js/themes/light-border.css';
@import '@primer/css/support/variables/color-system.scss';

View File

@ -11,8 +11,8 @@
import gemoji from '@bytemd/plugin-gemoji'
import markdownText from './text.md?raw'
import 'github-markdown-css'
import 'highlight.js/styles/vs.css'
import 'github-markdown-css' // placed after highlight styles to override `code` padding
import 'katex/dist/katex.css'
function stripPrefixes(obj: Record<string, any>) {