Skip to content

v0.32.1

Compare
Choose a tag to compare
@seek-oss-ci seek-oss-ci released this 01 Aug 06:03
· 39 commits to master since this release
9de7d5e

Patch Changes

  • a044864: Allow overriding Webpack module rules

    Consumers may have complex Webpack configurations that can clash with Playroom's.
    In this case, it's useful to be able to override the module rules that Playroom defines.
    For example, overriding loaders defined for CSS files:

    // playroom.config.js
    module.exports = {
      webpackConfig: () => ({
        module: {
          rules: [
            // use your own CSS loaders
            { test: /\.css$/, use: ['style-loader', 'css-loader'] },
          ],
        },
      }),
    };