Support new features from #15

This commit is contained in:
AndrewLester
2022-08-10 10:45:56 -04:00
parent ff1182a56a
commit 789c331a21
2 changed files with 3 additions and 3 deletions

View File

@@ -50,8 +50,8 @@ class ConfigParser {
} }
// Find the configuration object in an AST. // Find the configuration object in an AST.
// Look for a default export, an export default with idenfitier, a direct module export // Look for a default export, a direct module export or an indirect module
// or an indirect module export (in that order). // export (in that order).
// //
// Return the configuration object or null. // Return the configuration object or null.
findConfigurationObject(ast) { findConfigurationObject(ast) {

View File

@@ -52,7 +52,7 @@ function getConfigParserSettings({ staticSiteGenerator, generatorConfigFile, pat
} }
return { return {
configurationFile: './svelte.config.js', configurationFile: generatorConfigFile || './svelte.config.js',
blankConfigurationFile: `${__dirname}/blank-configurations/sveltekit.js`, blankConfigurationFile: `${__dirname}/blank-configurations/sveltekit.js`,
properties: { properties: {
// Configure a base path // Configure a base path