Skip to content

Commit

Permalink
Support new features from #15
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewLester committed Aug 10, 2022
1 parent ff1182a commit 789c331
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/config-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class ConfigParser {
}

// Find the configuration object in an AST.
// Look for a default export, an export default with idenfitier, a direct module export
// or an indirect module export (in that order).
// Look for a default export, a direct module export or an indirect module
// export (in that order).
//
// Return the configuration object or null.
findConfigurationObject(ast) {
Expand Down
2 changes: 1 addition & 1 deletion src/set-pages-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function getConfigParserSettings({ staticSiteGenerator, generatorConfigFile, pat
}

return {
configurationFile: './svelte.config.js',
configurationFile: generatorConfigFile || './svelte.config.js',
blankConfigurationFile: `${__dirname}/blank-configurations/sveltekit.js`,
properties: {
// Configure a base path
Expand Down

0 comments on commit 789c331

Please sign in to comment.