
These changes force webpack to load the local pacakges (like patterns and so on) from source, rather than from a compiled bundle. This means that the lab site will reload whenever one makes changes to pattern code.
4 lines
163 B
JavaScript
4 lines
163 B
JavaScript
import pattern from 'pkgs/brian/src/index.js'
|
|
import PageTemplate from 'site/page-templates/workbench.js'
|
|
|
|
export default () => <PageTemplate pattern={pattern} />
|