Skip to content

Commit

Permalink
Pass mode into snowpack runtime (#99)
Browse files Browse the repository at this point in the history
* Pass the `mode` through to snowpack

This allows the production packages to be prepared.

* Use snowpack 3.3.1

* Update path to prism loadComponents external ref

* Upgrade to snowpack 3.3.2
  • Loading branch information
matthewp committed Apr 16, 2021
1 parent 2a7aa76 commit 58c499d
Show file tree
Hide file tree
Showing 7 changed files with 2,367 additions and 272 deletions.
2 changes: 1 addition & 1 deletion components/Prism.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import Prism from 'prismjs';
import { addAstro } from '../astro-prism/index.mjs';
import * as loadLanguages from 'prismjs/components/';
import * as loadLanguages from 'prismjs/components/index.js';
export let lang;
export let code;
Expand Down
1,405 changes: 1,193 additions & 212 deletions examples/snowpack/package-lock.json

Large diffs are not rendered by default.

Loading

0 comments on commit 58c499d

Please sign in to comment.