mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
feat(v2): better splitchunks and babel default (#1653)
* feat(v2): better splitchunks and babel default * common chunks * chunks: all
This commit is contained in:
parent
9e9ad1f2b8
commit
22ce04d3fb
4 changed files with 23 additions and 19 deletions
|
@ -18,6 +18,8 @@ import styles from './styles.module.css';
|
|||
const Playground = LoadableVisibility({
|
||||
loader: () => import('@theme/Playground'),
|
||||
loading: Loading,
|
||||
modules: ['@theme/Playground'],
|
||||
webpack: () => [require.resolveWeak('@theme/Playground')],
|
||||
});
|
||||
|
||||
export default ({children, className: languageClassName, live, ...props}) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue