Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 645 Bytes

customize-build-process.md

File metadata and controls

23 lines (19 loc) · 645 Bytes

Customize Dashbling build process

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.