We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trying to set up size-limit and use my webpack.config.js that exports a function for building the webpack config object.
webpack.config.js
size-limit doesn't seem to accept a webpack config as a function.
const clientConfig = (argv, env) => ({ mode: env.mode, devtool: env.mode === 'production' ? 'source-map' : 'eval', name: 'client', /* ... */ }); console.log('file is read'); module.exports = (argv, env) => { console.log('function is invoked', argv, env); return clientConfig(argv, env); };
the function is invoked is never printed
function is invoked
The text was updated successfully, but these errors were encountered:
Yes, it doesn’t.
Send PR if you have an idea how to add support.
Sorry, something went wrong.
The fix was released in 10.0.2.
No branches or pull requests
trying to set up size-limit and use my
webpack.config.js
that exports a function for building the webpack config object.size-limit doesn't seem to accept a webpack config as a function.
the
function is invoked
is never printedThe text was updated successfully, but these errors were encountered: