Skip to content

Commit 15df296

Browse files
authored
Merge pull request #1697 from SUI-Components/feat/cache-sui-studio
feat(packages/sui-studio): disable filesystem cache in dev mode
2 parents 022850d + 200c5f6 commit 15df296

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)