1
0
Fork 0

chore(fs.dev): Webpack aliases to load local code from source

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.
This commit is contained in:
Joost De Cock 2022-01-24 12:34:29 +01:00
parent 2169994f0a
commit 2ea353a475
7 changed files with 35 additions and 10 deletions

View file

@ -38,7 +38,6 @@ const WorkbenchWrapper = ({ app, pattern }) => {
// State for display mode and gist
const [mode, setMode] = useState(null)
const [gist, setGist] = useState(defaultGist(pattern, app.language))
const [fuck, setFuck] = useState('')
// If we don't have the requiremed measurements,
// force mode to measurements