mirror of
https://github.com/actions/configure-pages.git
synced 2025-12-08 08:06:09 +00:00
Support new features from #15
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user