scully-image icon indicating copy to clipboard operation
scully-image copied to clipboard

Plugin configuration in Scully config file is quite different from bootstrapped Scully config file

Open emekaelo opened this issue 3 years ago • 0 comments

dependencies

    "@angular/common": "~13.1.1",
    "@angular/core": "~13.1.1",
    "@scullyio/init": "^2.0.5",
    "@scullyio/ng-lib": "^2.0.0",
    "@scullyio/scully": "^2.0.0",
    "@scullyio/scully-plugin-puppeteer": "^2.0.0",
    "tslib": "^2.3.0",

The demo for adding the plugin to the scully config file shows doing it with require and exports.config. Is it possible for the library to follow import method for homogeneity as imports is what the scully config file was bootstrapped with. It also exports a config object while the library uses module.exports.

export const config: ScullyConfig = {
  projectRoot: './src',
  ...
};

emekaelo avatar May 16 '22 05:05 emekaelo