text: exports.onCreateWebpackConfig = ({ stage, rules, loaders, plugins, actions }) => {
    actions.setWebpackConfig({
      module: {
        rules: [
          {
            test: /\.xlsx$/,
            use: [{loader: 'file-loader'}],
          },
        ],
      },
      plugins: [
        plugins.define({
          __DEVELOPMENT__: stage === `develop` || stage === `develop-html`,
        }),
      ],
    });
  };
  