WebpackOptionsValidationError: Invalid configuration object. Webpack has been
initialised using a configuration object that does not match the API schema. - configuration.output.path: The provided value "website/mycompass_marketing/static/js" is not an absolute path!
# in gulpfile.js/config.js change
const sitePath = path.join('.', 'website', 'mycompass_marketing', 'static');
# to
const sitePath = path.resolve('.', 'website', 'mycompass_marketing', 'static');
# alternatively in webpack.config.js change
output: {
path: path.join(config.build.js),
# to
path: path.resolve(config.build.js),
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema. - configuration.output.path: The provided value "website/mycompass_marketing/static/js" is not an absolute path!
Not sure which is better.