@sveltejs/kit
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -170,3 +170,3 @@ 'use strict'; | ||
var name = "@sveltejs/kit"; | ||
var version = "0.0.9"; | ||
var version = "0.0.10"; | ||
var dependencies = { | ||
@@ -173,0 +173,0 @@ "@sveltejs/app-utils": "0.0.3", |
@@ -154,2 +154,10 @@ 'use strict'; | ||
const onwarn = (warning, handler) => { | ||
// TODO would be nice to just eliminate the circular dependencies instead of | ||
// squelching these warnings (it happens when e.g. the root layout imports | ||
// from /_app/main/client) | ||
if (warning.code === 'CIRCULAR_DEPENDENCY') return; | ||
handler(warning); | ||
}; | ||
async function build(config) { | ||
@@ -230,2 +238,4 @@ if (!config.adapter) { | ||
onwarn, | ||
// TODO ensure this works with external node modules (on server) | ||
@@ -357,2 +367,4 @@ external: id => id[0] !== '.' && !path__default['default'].isAbsolute(id) | ||
onwarn, | ||
// TODO ensure this works with external node modules (on server) | ||
@@ -359,0 +371,0 @@ external: id => id[0] !== '.' && !path__default['default'].isAbsolute(id) |
{ | ||
"name": "@sveltejs/kit", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "@sveltejs/app-utils": "0.0.3", |
Sorry, the diff of this file is not supported yet
841948
9476