Skip to content

Commit 200c5f6

Browse files
Andrés AlvarezAndrés Alvarez
authored andcommitted
feat(packages/sui-studio): disable filesystem cache in dev mode
1 parent 07116e2 commit 200c5f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/sui-studio/bin/sui-studio-dev.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ const legacyTestPath = path.join(PWD, 'test', category, component)
4848

4949
const testPath = fs.existsSync(legacyTestPath) ? legacyTestPath : path.join(componentPath, 'test')
5050

51+
const {cache, ...others} = config
52+
5153
const studioDevConfig = {
52-
...config,
54+
...others,
5355
context: path.join(__dirname, '..', 'workbench', 'src'),
5456
plugins: [...config.plugins, new webpack.DefinePlugin({__COMPONENT_ID__: JSON.stringify(componentID)})],
5557
resolve: {

0 commit comments

Comments
 (0)