Dashbling uses Webpack under the hood to build your dashboard.
To customize the Webpack configuration, specify a webpackConfig
property in your dashbling.config.js
as follows:
module.exports = {
webpackConfig: config => {
// return modified config
// or even completely custom config.
//
// Example:
// config.module.rules.push({
// test: /\.jpg$/,
// loader: "file-loader"
// });
return config;
}
};
The default Webpack configuration can be found here.