Changelog
0.33.0
2d3571b: Add support for loading mjs config files
Consumers should now be able to write their configuration files using ES modules. By default Playroom will look for playroom.config.js
with either a .js
, .mjs
or .cjs
file extension.
Changelog
0.32.1
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'] },
],
},
}),
};
Changelog
0.32.0
Changelog
0.31.0
8ce01ff: Add keyboard shortcuts legend to the settings panel, to help with discoverability.
8ce01ff: Adds keybinding for wrapping the current selection in a tag.
Pressing <kbd><kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>,</kbd></kbd> (or, on Windows, <kbd><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>,</kbd></kbd>) will wrap the currently selected text in an empty fragment that is ready to be typed in.
Works for single cursors (doesn't wrap anything), single line selections, multi-line selections, and multiple cursors.