summaryrefslogtreecommitdiff
path: root/examples/snowpack/snowpack.config.js
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2021-03-21 16:16:18 -0700
committerGravatar Fred K. Schott <fkschott@gmail.com> 2021-03-21 16:16:18 -0700
commite03afbd980f4e0226136b3324c6f166ec8a18a8e (patch)
tree5c0112bb0f700512ca640c9104b607407e5d73b1 /examples/snowpack/snowpack.config.js
parent558ef18b58d8f0fd2894eb02fce07c062aab81d3 (diff)
downloadastro-e03afbd980f4e0226136b3324c6f166ec8a18a8e.tar.gz
astro-e03afbd980f4e0226136b3324c6f166ec8a18a8e.tar.zst
astro-e03afbd980f4e0226136b3324c6f166ec8a18a8e.zip
add fetch support
Diffstat (limited to 'examples/snowpack/snowpack.config.js')
-rw-r--r--examples/snowpack/snowpack.config.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/snowpack/snowpack.config.js b/examples/snowpack/snowpack.config.js
index 5cab1aaa0..b67784ba1 100644
--- a/examples/snowpack/snowpack.config.js
+++ b/examples/snowpack/snowpack.config.js
@@ -1,5 +1,6 @@
/** @type {import("snowpack").SnowpackUserConfig } */
module.exports = {
+
mount: {
public: '/',
//src: '/_dist_',
@@ -12,9 +13,9 @@ module.exports = {
'@snowpack/plugin-vue'
],
packageOptions: {
- // Blocked by CSS asset support
- // source: 'remote',
- // types: true,
+ external: [
+ 'node-fetch'
+ ]
},
devOptions: {
// Eleventy updates multiple files at once, so add a 1000ms delay before we trigger a browser update